Android Question mopub error on startup


Active Member
Licensed User
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:

*** 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(
    at com.pendrush.wrapper.MoPubWrapper.ProveriGdpr(
    at com.pendrush.wrapper.MoPubWrapper.access$000(
    at com.pendrush.wrapper.MoPubWrapper$1.onInitializationFinished(
    at com.mopub.common.MoPub$
    at android.os.Handler.handleCallback(
    at android.os.Handler.dispatchMessage(
    at android.os.Looper.loop(
    at java.lang.reflect.Method.invoke(Native Method)
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(
    at java.lang.ClassLoader.loadClass(
    at java.lang.ClassLoader.loadClass(
    ... 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...


Active Member
Licensed User
Thank you.
this solves the problem.
Complete solution:
Download the last file version, from here:
and here:

Add referance and enable multidex:

    #AdditionalJar: AudienceNetwork.aar
    #AdditionalJar: kotlin-stdlib-1.3.21.jar
    #AdditionalJar: kotlin-stdlib-jdk8-1.3.21.jar
    #MultiDex: True
    'AudienceNetwork.aar is part of Facebook Audience Network Library
    'Download Facebook Audience Network Library from:

Don t work with version kotlin-stdlib-1.4.30-M1.jar

useful link:

do you know how to add reward videos too?
Do you know a good ad network for banners?
admob - I have a gplay console banned account and this causes the problem with ads
facebook - it allows only apps from play store
tapjpy - as mediation with mopub, don't support banners. mopub, allow the only Facebook

I use mopub, for tapjoy interstitial, (and I'd like to add reward video), but I can't use mopub marketplace ads

can I use AdMob with mediation networks without use real AdMob ads? they can limit ads showing because I haven't a dev play store account

I have collected almost of file need to create the new library version:

File List:
MoPubAds.jar [No Find]

MoPubAds.xml [No Find]

MoPubMerged.jar [No Find]

admob-- [OK]

facebookaudiencenetwor- [OK]

kotlin-stdlib-jdk8-1.4.30-M1.jar [OK]

kotlin-stdlib-1.4.30-M1.jar [OK]

mopub-sdk-banner- [OK]

mopub-sdk-native-static-5.15.0.aar [NEW]

mopub-sdk-base- [OK]

mopub-sdk-fullscreen-5.15.0.aar [OK]

mopub-volley-2.1.0.androidx.jar [OK]
Last edited:
Upvote 0