hello.
I'm going to try to integrate mopub into my app and follow this tutorial by @Pendrush
I have download the example, create ads on mopub and all should work, but on startup, it returns this error:
the last version of mopub android SDK is 5.15.0 (November 18, 2020)
I also looking for an alternative for AdMob to monetize my app, with banner, interstitial, and reward video...
I'm going to try to integrate mopub into my app and follow this tutorial by @Pendrush
B4X:
https://www.b4x.com/android/forum/threads/mopub-ads-library.116307/
B4X:
*** Service (starter) Create ***
** Service (starter) Start **
** Activity (main) Create, isFirst = true **
** Activity (main) Resume **
java.lang.NoClassDefFoundError: Failed resolution of: Lkotlin/jvm/internal/Intrinsics;
at com.mopub.mobileads.MoPubAd$$CC.setAdUnitId$$dflt$$(Unknown Source:5)
at com.mopub.mobileads.MoPubView.setAdUnitId(Unknown Source:4)
at com.pendrush.wrapper.MoPubWrapper.inicijalizujMoPubBanner(MoPubWrapper.java:117)
at com.pendrush.wrapper.MoPubWrapper.ProveriGdpr(MoPubWrapper.java:90)
at com.pendrush.wrapper.MoPubWrapper.access$000(MoPubWrapper.java:29)
at com.pendrush.wrapper.MoPubWrapper$1.onInitializationFinished(MoPubWrapper.java:72)
at com.mopub.common.MoPub$1.run(MoPub.java:383)
at android.os.Handler.handleCallback(Handler.java:808)
at android.os.Handler.dispatchMessage(Handler.java:101)
at android.os.Looper.loop(Looper.java:166)
at android.app.ActivityThread.main(ActivityThread.java:7529)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:245)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:921)
Caused by: java.lang.ClassNotFoundException: Didn't find class "kotlin.jvm.internal.Intrinsics" on path: DexPathList[[zip file "/data/app/b4a.example-43_dA0lgPjrj2MZVWXFbTA==/base.apk"],nativeLibraryDirectories=[/data/app/b4a.example-43_dA0lgPjrj2MZVWXFbTA==/lib/arm64, /system/lib64, /vendor/lib64, /product/lib64, /preas/lib64]]
at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:93)
at java.lang.ClassLoader.loadClass(ClassLoader.java:379)
at java.lang.ClassLoader.loadClass(ClassLoader.java:312)
... 14 more
the last version of mopub android SDK is 5.15.0 (November 18, 2020)
I also looking for an alternative for AdMob to monetize my app, with banner, interstitial, and reward video...