Android Question Unity Ads with Firebase Admob Mediation no impressions

Ferdari

Active Member
Licensed User
Longtime User
Hi everyone, i just integrated Unity Ads through Firebase Admob Mediation

I followed the Inmobi integration tutorial from @Erel but for Unity Ads, all right, did the integration on Admob Mediation

Integrated the Unity JAR and AAR
B4X:
    #AdditionalJar: unity-3.4.2.0.aar
    #AdditionalJar: unity-3.4.2.0-sources.jar

Added the Activities definitions to manifest:
B4X:
AddManifestText(
<activity
    android:name="com.unity3d.services.ads.adunit.AdUnitActivity"
    android:configChanges="fontScale|keyboard|keyboardHidden|locale|mnc|mcc|navigation|orientation|screenLayout|screenSize|smallestScreenSize|uiMode|touchscreen"
    android:hardwareAccelerated="true"
    android:theme="@android:style/Theme.NoTitleBar.Fullscreen" />
<activity
    android:name="com.unity3d.services.ads.adunit.AdUnitTransparentActivity"
    android:configChanges="fontScale|keyboard|keyboardHidden|locale|mnc|mcc|navigation|orientation|screenLayout|screenSize|smallestScreenSize|uiMode|touchscreen"
    android:hardwareAccelerated="true"
    android:theme="@android:style/Theme.Translucent.NoTitleBar.Fullscreen" />
<activity
    android:name="com.unity3d.services.ads.adunit.AdUnitTransparentSoftwareActivity"
    android:configChanges="fontScale|keyboard|keyboardHidden|locale|mnc|mcc|navigation|orientation|screenLayout|screenSize|smallestScreenSize|uiMode|touchscreen"
    android:hardwareAccelerated="false"
    android:theme="@android:style/Theme.Translucent.NoTitleBar.Fullscreen" />
<activity
    android:name="com.unity3d.services.ads.adunit.AdUnitSoftwareActivity"
    android:configChanges="fontScale|keyboard|keyboardHidden|locale|mnc|mcc|navigation|orientation|screenLayout|screenSize|smallestScreenSize|uiMode|touchscreen"
    android:hardwareAccelerated="false"
    android:theme="@android:style/Theme.NoTitleBar.Fullscreen" />)

All seems ok, but there is only Requests but no Impressions on Unity Ads:
1582182071124.png

Tried lowering the eCPM, but no changes.

Help are very appreciated.
 

Ferdari

Active Member
Licensed User
Longtime User
Thanks for the reply @Erel, i found this on the unfiltered logs:
LOG:
Failed to open app image /data/app/com.google.android.gms-aH_FhnmJfion3g-wmGtsEw==/oat/arm64/base.art Failed to open '/data/app/com.google.android.gms-aH_FhnmJfion3g-wmGtsEw==/oat/arm64/base.art'

Considering local module com.google.android.gms.ads.dynamite:0 and remote module com.google.android.gms.ads.dynamite:21200

Selected remote version of com.google.android.gms.ads.dynamite, version >= 21200

Instantiated singleton DynamitePackage.

Instantiating com.google.android.gms.ads.ChimeraMobileAdsSettingManagerCreatorImpl

Updating ad debug logging enablement.

No Network Security Config specified, using platform default

Rejecting re-init on previously-failed class java.lang.Class<com.google.ads.mediation.unity.UnityAdapterDelegate>: java.lang.NoClassDefFoundError: Failed resolution of: Lcom/unity3d/ads/mediation/IUnityAdsExtendedListener;

  at java.lang.Object java.lang.reflect.Constructor.newInstance0(java.lang.Object[]) (Constructor.java:-2)

  at java.lang.Object java.lang.reflect.Constructor.newInstance(java.lang.Object[]) (Constructor.java:334)

  at com.google.android.gms.internal.ads.zzald com.google.android.gms.internal.ads.zzakz.zzdg(java.lang.String) (com.google.android.gms:play-services-ads-lite@@18.3.0:23)

  at com.google.android.gms.internal.ads.zzald com.google.android.gms.internal.ads.zzakz.zzde(java.lang.String) (com.google.android.gms:play-services-ads-lite@@18.3.0:2)

  at boolean com.google.android.gms.internal.ads.zzalb.zza(int, android.os.Parcel, android.os.Parcel, int) (com.google.android.gms:play-services-ads-lite@@18.3.0:11)

  at boolean com.google.android.gms.internal.ads.zzgb.onTransact(int, android.os.Parcel, android.os.Parcel, int) (com.google.android.gms:play-services-ads-base@@18.3.0:13)

  at boolean android.os.Binder.transact(int, android.os.Parcel, android.os.Parcel, int) (Binder.java:608)

  at android.os.Parcel fe.a(int, android.os.Parcel) (:com.google.android.gms.policy_ads_fdr_dynamite@[email protected]:2)

  at com.google.android.gms.ads.internal.mediation.client.g com.google.android.gms.ads.internal.mediation.client.b.a(java.lang.String) (:com.google.android.gms.policy_ads_fdr_dynamite@[email protected]:1)

  at com.google.android.gms.ads.nonagon.util.e com.google.android.gms.ads.nonagon.render.ak.a(java.lang.String, org.json.JSONObject) (:com.google.android.gms.policy_ads_fdr_dynamite@[email protected]:16)

  at void com.google.android.gms.ads.nonagon.initialization.i.run() (:com.google.android.gms.policy_ads_fdr_dynamite@[email protected]:18)

  at void java.util.concurrent.ThreadPoolExecutor.runWorker(java.util.concurrent.ThreadPoolExecutor$Worker) (ThreadPoolExecutor.java:1162)

  at void java.util.concurrent.ThreadPoolExecutor$Worker.run() (ThreadPoolExecutor.java:636)

  at void java.lang.Thread.run() (Thread.java:764)

Caused by: java.lang.ClassNotFoundException: Didn't find class "com.unity3d.ads.mediation.IUnityAdsExtendedListener" on path: DexPathList[[zip file "/data/app/stickers.app-gnm8y7s-DlBEE8yQkFUEOQ==/base.apk"],nativeLibraryDirectories=[/data/app/stickers.app-gnm8y7s-DlBEE8yQkFUEOQ==/lib/arm64, /system/lib64, /system/vendor/lib64]]

  at java.lang.Class dalvik.system.BaseDexClassLoader.findClass(java.lang.String) (BaseDexClassLoader.java:93)

  at java.lang.Class java.lang.ClassLoader.loadClass(java.lang.String, boolean) (ClassLoader.java:379)

  at java.lang.Class java.lang.ClassLoader.loadClass(java.lang.String) (ClassLoader.java:312)

  at java.lang.Object java.lang.reflect.Constructor.newInstance0(java.lang.Object[]) (Constructor.java:-2)

  at java.lang.Object java.lang.reflect.Constructor.newInstance(java.lang.Object[]) (Constructor.java:334)

  at com.google.android.gms.internal.ads.zzald com.google.android.gms.internal.ads.zzakz.zzdg(java.lang.String) (com.google.android.gms:play-services-ads-lite@@18.3.0:23)

  at com.google.android.gms.internal.ads.zzald com.google.android.gms.internal.ads.zzakz.zzde(java.lang.String) (com.google.android.gms:play-services-ads-lite@@18.3.0:2)

  at boolean com.google.android.gms.internal.ads.zzalb.zza(int, android.os.Parcel, android.os.Parcel, int) (com.google.android.gms:play-services-ads-lite@@18.3.0:11)

  at boolean com.google.android.gms.internal.ads.zzgb.onTransact(int, android.os.Parcel, android.os.Parcel, int) (com.google.android.gms:play-services-ads-base@@18.3.0:13)

  at boolean android.os.Binder.transact(int, android.os.Parcel, android.os.Parcel, int) (Binder.java:608)

  at android.os.Parcel fe.a(int, android.os.Parcel) (:com.google.android.gms.policy_ads_fdr_dynamite@[email protected]:2)

  at com.google.android.gms.ads.internal.mediation.client.g com.google.android.gms.ads.internal.mediation.client.b.a(java.lang.String) (:com.google.android.gms.policy_ads_fdr_dynamite@[email protected]:1)

  at com.google.android.gms.ads.nonagon.util.e com.google.android.gms.ads.nonagon.render.ak.a(java.lang.String, org.json.JSONObject) (:com.google.android.gms.policy_ads_fdr_dynamite@[email protected]:16)

  at void com.google.android.gms.ads.nonagon.initialization.i.run() (:com.google.android.gms.policy_ads_fdr_dynamite@[email protected]:18)

  at void java.util.concurrent.ThreadPoolExecutor.runWorker(java.util.concurrent.ThreadPoolExecutor$Worker) (ThreadPoolExecutor.java:1162)

  at void java.util.concurrent.ThreadPoolExecutor$Worker.run() (ThreadPoolExecutor.java:636)

  at void java.lang.Thread.run() (Thread.java:764)

Rejecting re-init on previously-failed class java.lang.Class<com.google.ads.mediation.unity.UnityMediationAdapter$1>: java.lang.NoClassDefFoundError: Failed resolution of: Lcom/google/ads/mediation/unity/UnityAdapterDelegate;

  at java.lang.Object java.lang.reflect.Constructor.newInstance0(java.lang.Object[]) (Constructor.java:-2)

  at java.lang.Object java.lang.reflect.Constructor.newInstance(java.lang.Object[]) (Constructor.java:334)

  at com.google.android.gms.internal.ads.zzald com.google.android.gms.internal.ads.zzakz.zzdg(java.lang.String) (com.google.android.gms:play-services-ads-lite@@18.3.0:23)

  at com.google.android.gms.internal.ads.zzald com.google.android.gms.internal.ads.zzakz.zzde(java.lang.String) (com.google.android.gms:play-services-ads-lite@@18.3.0:2)

  at boolean com.google.android.gms.internal.ads.zzalb.zza(int, android.os.Parcel, android.os.Parcel, int) (com.google.android.gms:play-services-ads-lite@@18.3.0:11)

  at boolean com.google.android.gms.internal.ads.zzgb.onTransact(int, android.os.Parcel, android.os.Parcel, int) (com.google.android.gms:play-services-ads-base@@18.3.0:13)

  at boolean android.os.Binder.transact(int, android.os.Parcel, android.os.Parcel, int) (Binder.java:608)

  at android.os.Parcel fe.a(int, android.os.Parcel) (:com.google.android.gms.policy_ads_fdr_dynamite@[email protected]:2)

  at com.google.android.gms.ads.internal.mediation.client.g com.google.android.gms.ads.internal.mediation.client.b.a(java.lang.String) (:com.google.android.gms.policy_ads_fdr_dynamite@[email protected]:1)

  at com.google.android.gms.ads.nonagon.util.e com.google.android.gms.ads.nonagon.render.ak.a(java.lang.String, org.json.JSONObject) (:com.google.android.gms.policy_ads_fdr_dynamite@[email protected]:16)

  at void com.google.android.gms.ads.nonagon.initialization.i.run() (:com.google.android.gms.policy_ads_fdr_dynamite@[email protected]:18)

  at void java.util.concurrent.ThreadPoolExecutor.runWorker(java.util.concurrent.ThreadPoolExecutor$Worker) (ThreadPoolExecutor.java:1162)

  at void java.util.concurrent.ThreadPoolExecutor$Worker.run() (ThreadPoolExecutor.java:636)

  at void java.lang.Thread.run() (Thread.java:764)

Caused by: java.lang.ClassNotFoundException: com.google.ads.mediation.unity.UnityAdapterDelegate

  at java.lang.Class java.lang.VMClassLoader.findLoadedClass(java.lang.ClassLoader, java.lang.String) (VMClassLoader.java:-2)

  at java.lang.Class java.lang.ClassLoader.findLoadedClass(java.lang.String) (ClassLoader.java:738)

  at java.lang.Class java.lang.ClassLoader.loadClass(java.lang.String, boolean) (ClassLoader.java:363)

  at java.lang.Class java.lang.ClassLoader.loadClass(java.lang.String) (ClassLoader.java:312)

  at java.lang.Object java.lang.reflect.Constructor.newInstance0(java.lang.Object[]) (Constructor.java:-2)

  at java.lang.Object java.lang.reflect.Constructor.newInstance(java.lang.Object[]) (Constructor.java:334)

  at com.google.android.gms.internal.ads.zzald com.google.android.gms.internal.ads.zzakz.zzdg(java.lang.String) (com.google.android.gms:play-services-ads-lite@@18.3.0:23)

  at com.google.android.gms.internal.ads.zzald com.google.android.gms.internal.ads.zzakz.zzde(java.lang.String) (com.google.android.gms:play-services-ads-lite@@18.3.0:2)

  at boolean com.google.android.gms.internal.ads.zzalb.zza(int, android.os.Parcel, android.os.Parcel, int) (com.google.android.gms:play-services-ads-lite@@18.3.0:11)

  at boolean com.google.android.gms.internal.ads.zzgb.onTransact(int, android.os.Parcel, android.os.Parcel, int) (com.google.android.gms:play-services-ads-base@@18.3.0:13)

  at boolean android.os.Binder.transact(int, android.os.Parcel, android.os.Parcel, int) (Binder.java:608)

  at android.os.Parcel fe.a(int, android.os.Parcel) (:com.google.android.gms.policy_ads_fdr_dynamite@[email protected]:2)

  at com.google.android.gms.ads.internal.mediation.client.g com.google.android.gms.ads.internal.mediation.client.b.a(java.lang.String) (:com.google.android.gms.policy_ads_fdr_dynamite@[email protected]:1)

  at com.google.android.gms.ads.nonagon.util.e com.google.android.gms.ads.nonagon.render.ak.a(java.lang.String, org.json.JSONObject) (:com.google.android.gms.policy_ads_fdr_dynamite@[email protected]:16)

  at void com.google.android.gms.ads.nonagon.initialization.i.run() (:com.google.android.gms.policy_ads_fdr_dynamite@[email protected]:18)

  at void java.util.concurrent.ThreadPoolExecutor.runWorker(java.util.concurrent.ThreadPoolExecutor$Worker) (ThreadPoolExecutor.java:1162)

  at void java.util.concurrent.ThreadPoolExecutor$Worker.run() (ThreadPoolExecutor.java:636)

  at void java.lang.Thread.run() (Thread.java:764)

Rejecting re-init on previously-failed class java.lang.Class<com.google.ads.mediation.unity.UnityMediationAdapter$1>: java.lang.NoClassDefFoundError: Failed resolution of: Lcom/google/ads/mediation/unity/UnityAdapterDelegate;

  at java.lang.Object java.lang.reflect.Constructor.newInstance0(java.lang.Object[]) (Constructor.java:-2)

  at java.lang.Object java.lang.reflect.Constructor.newInstance(java.lang.Object[]) (Constructor.java:334)

  at com.google.android.gms.internal.ads.zzald com.google.android.gms.internal.ads.zzakz.zzdg(java.lang.String) (com.google.android.gms:play-services-ads-lite@@18.3.0:23)

  at com.google.android.gms.internal.ads.zzald com.google.android.gms.internal.ads.zzakz.zzde(java.lang.String) (com.google.android.gms:play-services-ads-lite@@18.3.0:2)

  at boolean com.google.android.gms.internal.ads.zzalb.zza(int, android.os.Parcel, android.os.Parcel, int) (com.google.android.gms:play-services-ads-lite@@18.3.0:11)

  at boolean com.google.android.gms.internal.ads.zzgb.onTransact(int, android.os.Parcel, android.os.Parcel, int) (com.google.android.gms:play-services-ads-base@@18.3.0:13)

  at boolean android.os.Binder.transact(int, android.os.Parcel, android.os.Parcel, int) (Binder.java:608)

  at android.os.Parcel fe.a(int, android.os.Parcel) (:com.google.android.gms.policy_ads_fdr_dynamite@[email protected]:2)

  at com.google.android.gms.ads.internal.mediation.client.g com.google.android.gms.ads.internal.mediation.client.b.a(java.lang.String) (:com.google.android.gms.policy_ads_fdr_dynamite@[email protected]:1)

  at com.google.android.gms.ads.nonagon.util.e com.google.android.gms.ads.nonagon.render.ak.a(java.lang.String, org.json.JSONObject) (:com.google.android.gms.policy_ads_fdr_dynamite@[email protected]:16)

  at void com.google.android.gms.ads.nonagon.initialization.i.run() (:com.google.android.gms.policy_ads_fdr_dynamite@[email protected]:18)

  at void java.util.concurrent.ThreadPoolExecutor.runWorker(java.util.concurrent.ThreadPoolExecutor$Worker) (ThreadPoolExecutor.java:1162)

  at void java.util.concurrent.ThreadPoolExecutor$Worker.run() (ThreadPoolExecutor.java:636)

  at void java.lang.Thread.run() (Thread.java:764)

Caused by: java.lang.ClassNotFoundException: com.google.ads.mediation.unity.UnityAdapterDelegate

  at java.lang.Class java.lang.VMClassLoader.findLoadedClass(java.lang.ClassLoader, java.lang.String) (VMClassLoader.java:-2)

  at java.lang.Class java.lang.ClassLoader.findLoadedClass(java.lang.String) (ClassLoader.java:738)

  at java.lang.Class java.lang.ClassLoader.loadClass(java.lang.String, boolean) (ClassLoader.java:363)

  at java.lang.Class java.lang.ClassLoader.loadClass(java.lang.String) (ClassLoader.java:312)

  at java.lang.Object java.lang.reflect.Constructor.newInstance0(java.lang.Object[]) (Constructor.java:-2)

  at java.lang.Object java.lang.reflect.Constructor.newInstance(java.lang.Object[]) (Constructor.java:334)

  at com.google.android.gms.internal.ads.zzald com.google.android.gms.internal.ads.zzakz.zzdg(java.lang.String) (com.google.android.gms:play-services-ads-lite@@18.3.0:23)

  at com.google.android.gms.internal.ads.zzald com.google.android.gms.internal.ads.zzakz.zzde(java.lang.String) (com.google.android.gms:play-services-ads-lite@@18.3.0:2)

  at boolean com.google.android.gms.internal.ads.zzalb.zza(int, android.os.Parcel, android.os.Parcel, int) (com.google.android.gms:play-services-ads-lite@@18.3.0:11)

  at boolean com.google.android.gms.internal.ads.zzgb.onTransact(int, android.os.Parcel, android.os.Parcel, int) (com.google.android.gms:play-services-ads-base@@18.3.0:13)

  at boolean android.os.Binder.transact(int, android.os.Parcel, android.os.Parcel, int) (Binder.java:608)

  at android.os.Parcel fe.a(int, android.os.Parcel) (:com.google.android.gms.policy_ads_fdr_dynamite@[email protected]:2)

  at com.google.android.gms.ads.internal.mediation.client.g com.google.android.gms.ads.internal.mediation.client.b.a(java.lang.String) (:com.google.android.gms.policy_ads_fdr_dynamite@[email protected]:1)

  at com.google.android.gms.ads.nonagon.util.e com.google.android.gms.ads.nonagon.render.ak.a(java.lang.String, org.json.JSONObject) (:com.google.android.gms.policy_ads_fdr_dynamite@[email protected]:16)

  at void com.google.android.gms.ads.nonagon.initialization.i.run() (:com.google.android.gms.policy_ads_fdr_dynamite@[email protected]:18)

  at void java.util.concurrent.ThreadPoolExecutor.runWorker(java.util.concurrent.ThreadPoolExecutor$Worker) (ThreadPoolExecutor.java:1162)

  at void java.util.concurrent.ThreadPoolExecutor$Worker.run() (ThreadPoolExecutor.java:636)

  at void java.lang.Thread.run() (Thread.java:764)

Rejecting re-init on previously-failed class java.lang.Class<com.google.ads.mediation.unity.UnityMediationAdapter$1>: java.lang.NoClassDefFoundError: Failed resolution of: Lcom/google/ads/mediation/unity/UnityAdapterDelegate;

  at java.lang.Object java.lang.reflect.Constructor.newInstance0(java.lang.Object[]) (Constructor.java:-2)

  at java.lang.Object java.lang.reflect.Constructor.newInstance(java.lang.Object[]) (Constructor.java:334)

  at com.google.android.gms.internal.ads.zzald com.google.android.gms.internal.ads.zzakz.zzdg(java.lang.String) (com.google.android.gms:play-services-ads-lite@@18.3.0:23)

  at com.google.android.gms.internal.ads.zzald com.google.android.gms.internal.ads.zzakz.zzde(java.lang.String) (com.google.android.gms:play-services-ads-lite@@18.3.0:2)

  at boolean com.google.android.gms.internal.ads.zzalb.zza(int, android.os.Parcel, android.os.Parcel, int) (com.google.android.gms:play-services-ads-lite@@18.3.0:11)

  at boolean com.google.android.gms.internal.ads.zzgb.onTransact(int, android.os.Parcel, android.os.Parcel, int) (com.google.android.gms:play-services-ads-base@@18.3.0:13)

  at boolean android.os.Binder.transact(int, android.os.Parcel, android.os.Parcel, int) (Binder.java:608)

  at android.os.Parcel fe.a(int, android.os.Parcel) (:com.google.android.gms.policy_ads_fdr_dynamite@[email protected]:2)

  at com.google.android.gms.ads.internal.mediation.client.g com.google.android.gms.ads.internal.mediation.client.b.a(java.lang.String) (:com.google.android.gms.policy_ads_fdr_dynamite@[email protected]:1)

  at com.google.android.gms.ads.nonagon.util.e com.google.android.gms.ads.nonagon.render.ak.a(java.lang.String, org.json.JSONObject) (:com.google.android.gms.policy_ads_fdr_dynamite@[email protected]:16)

  at void com.google.android.gms.ads.nonagon.initialization.i.run() (:com.google.android.gms.policy_ads_fdr_dynamite@[email protected]:18)

  at void java.util.concurrent.ThreadPoolExecutor.runWorker(java.util.concurrent.ThreadPoolExecutor$Worker) (ThreadPoolExecutor.java:1162)

  at void java.util.concurrent.ThreadPoolExecutor$Worker.run() (ThreadPoolExecutor.java:636)

  at void java.lang.Thread.run() (Thread.java:764)

Caused by: java.lang.ClassNotFoundException: com.google.ads.mediation.unity.UnityAdapterDelegate

  at java.lang.Class java.lang.VMClassLoader.findLoadedClass(java.lang.ClassLoader, java.lang.String) (VMClassLoader.java:-2)

  at java.lang.Class java.lang.ClassLoader.findLoadedClass(java.lang.String) (ClassLoader.java:738)

  at java.lang.Class java.lang.ClassLoader.loadClass(java.lang.String, boolean) (ClassLoader.java:363)

  at java.lang.Class java.lang.ClassLoader.loadClass(java.lang.String) (ClassLoader.java:312)

  at java.lang.Object java.lang.reflect.Constructor.newInstance0(java.lang.Object[]) (Constructor.java:-2)

  at java.lang.Object java.lang.reflect.Constructor.newInstance(java.lang.Object[]) (Constructor.java:334)

  at com.google.android.gms.internal.ads.zzald com.google.android.gms.internal.ads.zzakz.zzdg(java.lang.String) (com.google.android.gms:play-services-ads-lite@@18.3.0:23)

  at com.google.android.gms.internal.ads.zzald com.google.android.gms.internal.ads.zzakz.zzde(java.lang.String) (com.google.android.gms:play-services-ads-lite@@18.3.0:2)

  at boolean com.google.android.gms.internal.ads.zzalb.zza(int, android.os.Parcel, android.os.Parcel, int) (com.google.android.gms:play-services-ads-lite@@18.3.0:11)

  at boolean com.google.android.gms.internal.ads.zzgb.onTransact(int, android.os.Parcel, android.os.Parcel, int) (com.google.android.gms:play-services-ads-base@@18.3.0:13)

  at boolean android.os.Binder.transact(int, android.os.Parcel, android.os.Parcel, int) (Binder.java:608)

  at android.os.Parcel fe.a(int, android.os.Parcel) (:com.google.android.gms.policy_ads_fdr_dynamite@[email protected]:2)

  at com.google.android.gms.ads.internal.mediation.client.g com.google.android.gms.ads.internal.mediation.client.b.a(java.lang.String) (:com.google.android.gms.policy_ads_fdr_dynamite@[email protected]:1)

  at com.google.android.gms.ads.nonagon.util.e com.google.android.gms.ads.nonagon.render.ak.a(java.lang.String, org.json.JSONObject) (:com.google.android.gms.policy_ads_fdr_dynamite@[email protected]:16)

  at void com.google.android.gms.ads.nonagon.initialization.i.run() (:com.google.android.gms.policy_ads_fdr_dynamite@[email protected]:18)

  at void java.util.concurrent.ThreadPoolExecutor.runWorker(java.util.concurrent.ThreadPoolExecutor$Worker) (ThreadPoolExecutor.java:1162)

  at void java.util.concurrent.ThreadPoolExecutor$Worker.run() (ThreadPoolExecutor.java:636)

  at void java.lang.Thread.run() (Thread.java:764)

Rejecting re-init on previously-failed class java.lang.Class<com.google.ads.mediation.unity.UnityAdapterDelegate>: java.lang.NoClassDefFoundError: Failed resolution of: Lcom/unity3d/ads/mediation/IUnityAdsExtendedListener;

  at java.lang.Object java.lang.reflect.Constructor.newInstance0(java.lang.Object[]) (Constructor.java:-2)

  at java.lang.Object java.lang.reflect.Constructor.newInstance(java.lang.Object[]) (Constructor.java:334)

  at com.google.android.gms.internal.ads.zzald com.google.android.gms.internal.ads.zzakz.zzdg(java.lang.String) (com.google.android.gms:play-services-ads-lite@@18.3.0:23)

  at com.google.android.gms.internal.ads.zzald com.google.android.gms.internal.ads.zzakz.zzde(java.lang.String) (com.google.android.gms:play-services-ads-lite@@18.3.0:2)

  at boolean com.google.android.gms.internal.ads.zzalb.zza(int, android.os.Parcel, android.os.Parcel, int) (com.google.android.gms:play-services-ads-lite@@18.3.0:11)

  at boolean com.google.android.gms.internal.ads.zzgb.onTransact(int, android.os.Parcel, android.os.Parcel, int) (com.google.android.gms:play-services-ads-base@@18.3.0:13)

  at boolean android.os.Binder.transact(int, android.os.Parcel, android.os.Parcel, int) (Binder.java:608)

  at android.os.Parcel fe.a(int, android.os.Parcel) (:com.google.android.gms.policy_ads_fdr_dynamite@[email protected]:2)

  at com.google.android.gms.ads.internal.mediation.client.g com.google.android.gms.ads.internal.mediation.client.b.a(java.lang.String) (:com.google.android.gms.policy_ads_fdr_dynamite@[email protected]:1)

  at com.google.android.gms.ads.nonagon.util.e com.google.android.gms.ads.nonagon.render.ak.a(java.lang.String, org.json.JSONObject) (:com.google.android.gms.policy_ads_fdr_dynamite@[email protected]:16)

  at void com.google.android.gms.ads.nonagon.initialization.i.run() (:com.google.android.gms.policy_ads_fdr_dynamite@[email protected]:18)

  at void java.util.concurrent.ThreadPoolExecutor.runWorker(java.util.concurrent.ThreadPoolExecutor$Worker) (ThreadPoolExecutor.java:1162)

  at void java.util.concurrent.ThreadPoolExecutor$Worker.run() (ThreadPoolExecutor.java:636)

  at void java.lang.Thread.run() (Thread.java:764)

Caused by: java.lang.ClassNotFoundException: Didn't find class "com.unity3d.ads.mediation.IUnityAdsExtendedListener" on path: DexPathList[[zip file "/data/app/stickers.app-gnm8y7s-DlBEE8yQkFUEOQ==/base.apk"],nativeLibraryDirectories=[/data/app/stickers.app-gnm8y7s-DlBEE8yQkFUEOQ==/lib/arm64, /system/lib64, /system/vendor/lib64]]

  at java.lang.Class dalvik.system.BaseDexClassLoader.findClass(java.lang.String) (BaseDexClassLoader.java:93)

  at java.lang.Class java.lang.ClassLoader.loadClass(java.lang.String, boolean) (ClassLoader.java:379)

  at java.lang.Class java.lang.ClassLoader.loadClass(java.lang.String) (ClassLoader.java:312)

  at java.lang.Object java.lang.reflect.Constructor.newInstance0(java.lang.Object[]) (Constructor.java:-2)

  at java.lang.Object java.lang.reflect.Constructor.newInstance(java.lang.Object[]) (Constructor.java:334)

  at com.google.android.gms.internal.ads.zzald com.google.android.gms.internal.ads.zzakz.zzdg(java.lang.String) (com.google.android.gms:play-services-ads-lite@@18.3.0:23)

  at com.google.android.gms.internal.ads.zzald com.google.android.gms.internal.ads.zzakz.zzde(java.lang.String) (com.google.android.gms:play-services-ads-lite@@18.3.0:2)

  at boolean com.google.android.gms.internal.ads.zzalb.zza(int, android.os.Parcel, android.os.Parcel, int) (com.google.android.gms:play-services-ads-lite@@18.3.0:11)

  at boolean com.google.android.gms.internal.ads.zzgb.onTransact(int, android.os.Parcel, android.os.Parcel, int) (com.google.android.gms:play-services-ads-base@@18.3.0:13)

  at boolean android.os.Binder.transact(int, android.os.Parcel, android.os.Parcel, int) (Binder.java:608)

  at android.os.Parcel fe.a(int, android.os.Parcel) (:com.google.android.gms.policy_ads_fdr_dynamite@[email protected]:2)

  at com.google.android.gms.ads.internal.mediation.client.g com.google.android.gms.ads.internal.mediation.client.b.a(java.lang.String) (:com.google.android.gms.policy_ads_fdr_dynamite@[email protected]:1)

  at com.google.android.gms.ads.nonagon.util.e com.google.android.gms.ads.nonagon.render.ak.a(java.lang.String, org.json.JSONObject) (:com.google.android.gms.policy_ads_fdr_dynamite@[email protected]:16)

  at void com.google.android.gms.ads.nonagon.initialization.i.run() (:com.google.android.gms.policy_ads_fdr_dynamite@[email protected]:18)

  at void java.util.concurrent.ThreadPoolExecutor.runWorker(java.util.concurrent.ThreadPoolExecutor$Worker) (ThreadPoolExecutor.java:1162)

  at void java.util.concurrent.ThreadPoolExecutor$Worker.run() (ThreadPoolExecutor.java:636)

  at void java.lang.Thread.run() (Thread.java:764)

Rejecting re-init on previously-failed class java.lang.Class<com.google.ads.mediation.unity.UnityAdapterDelegate>: java.lang.NoClassDefFoundError: Failed resolution of: Lcom/unity3d/ads/mediation/IUnityAdsExtendedListener;

  at java.lang.Object java.lang.reflect.Constructor.newInstance0(java.lang.Object[]) (Constructor.java:-2)

  at java.lang.Object java.lang.reflect.Constructor.newInstance(java.lang.Object[]) (Constructor.java:334)

  at com.google.android.gms.internal.ads.zzald com.google.android.gms.internal.ads.zzakz.zzdg(java.lang.String) (com.google.android.gms:play-services-ads-lite@@18.3.0:23)

  at com.google.android.gms.internal.ads.zzald com.google.android.gms.internal.ads.zzakz.zzde(java.lang.String) (com.google.android.gms:play-services-ads-lite@@18.3.0:2)

  at boolean com.google.android.gms.internal.ads.zzalb.zza(int, android.os.Parcel, android.os.Parcel, int) (com.google.android.gms:play-services-ads-lite@@18.3.0:11)

  at boolean com.google.android.gms.internal.ads.zzgb.onTransact(int, android.os.Parcel, android.os.Parcel, int) (com.google.android.gms:play-services-ads-base@@18.3.0:13)

  at boolean android.os.Binder.transact(int, android.os.Parcel, android.os.Parcel, int) (Binder.java:608)

  at android.os.Parcel fe.a(int, android.os.Parcel) (:com.google.android.gms.policy_ads_fdr_dynamite@[email protected]:2)

  at com.google.android.gms.ads.internal.mediation.client.g com.google.android.gms.ads.internal.mediation.client.b.a(java.lang.String) (:com.google.android.gms.policy_ads_fdr_dynamite@[email protected]:1)

  at com.google.android.gms.ads.nonagon.util.e com.google.android.gms.ads.nonagon.render.ak.a(java.lang.String, org.json.JSONObject) (:com.google.android.gms.policy_ads_fdr_dynamite@[email protected]:16)

  at void com.google.android.gms.ads.nonagon.initialization.i.run() (:com.google.android.gms.policy_ads_fdr_dynamite@[email protected]:18)

  at void java.util.concurrent.ThreadPoolExecutor.runWorker(java.util.concurrent.ThreadPoolExecutor$Worker) (ThreadPoolExecutor.java:1162)

  at void java.util.concurrent.ThreadPoolExecutor$Worker.run() (ThreadPoolExecutor.java:636)

  at void java.lang.Thread.run() (Thread.java:764)

Caused by: java.lang.ClassNotFoundException: Didn't find class "com.unity3d.ads.mediation.IUnityAdsExtendedListener" on path: DexPathList[[zip file "/data/app/stickers.app-gnm8y7s-DlBEE8yQkFUEOQ==/base.apk"],nativeLibraryDirectories=[/data/app/stickers.app-gnm8y7s-DlBEE8yQkFUEOQ==/lib/arm64, /system/lib64, /system/vendor/lib64]]

  at java.lang.Class dalvik.system.BaseDexClassLoader.findClass(java.lang.String) (BaseDexClassLoader.java:93)

  at java.lang.Class java.lang.ClassLoader.loadClass(java.lang.String, boolean) (ClassLoader.java:379)

  at java.lang.Class java.lang.ClassLoader.loadClass(java.lang.String) (ClassLoader.java:312)

  at java.lang.Object java.lang.reflect.Constructor.newInstance0(java.lang.Object[]) (Constructor.java:-2)

  at java.lang.Object java.lang.reflect.Constructor.newInstance(java.lang.Object[]) (Constructor.java:334)

  at com.google.android.gms.internal.ads.zzald com.google.android.gms.internal.ads.zzakz.zzdg(java.lang.String) (com.google.android.gms:play-services-ads-lite@@18.3.0:23)

  at com.google.android.gms.internal.ads.zzald com.google.android.gms.internal.ads.zzakz.zzde(java.lang.String) (com.google.android.gms:play-services-ads-lite@@18.3.0:2)

  at boolean com.google.android.gms.internal.ads.zzalb.zza(int, android.os.Parcel, android.os.Parcel, int) (com.google.android.gms:play-services-ads-lite@@18.3.0:11)

  at boolean com.google.android.gms.internal.ads.zzgb.onTransact(int, android.os.Parcel, android.os.Parcel, int) (com.google.android.gms:play-services-ads-base@@18.3.0:13)

  at boolean android.os.Binder.transact(int, android.os.Parcel, android.os.Parcel, int) (Binder.java:608)

  at android.os.Parcel fe.a(int, android.os.Parcel) (:com.google.android.gms.policy_ads_fdr_dynamite@[email protected]:2)

  at com.google.android.gms.ads.internal.mediation.client.g com.google.android.gms.ads.internal.mediation.client.b.a(java.lang.String) (:com.google.android.gms.policy_ads_fdr_dynamite@[email protected]:1)

  at com.google.android.gms.ads.nonagon.util.e com.google.android.gms.ads.nonagon.render.ak.a(java.lang.String, org.json.JSONObject) (:com.google.android.gms.policy_ads_fdr_dynamite@[email protected]:16)

  at void com.google.android.gms.ads.nonagon.initialization.i.run() (:com.google.android.gms.policy_ads_fdr_dynamite@[email protected]:18)

  at void java.util.concurrent.ThreadPoolExecutor.runWorker(java.util.concurrent.ThreadPoolExecutor$Worker) (ThreadPoolExecutor.java:1162)

  at void java.util.concurrent.ThreadPoolExecutor$Worker.run() (ThreadPoolExecutor.java:636)

  at void java.lang.Thread.run() (Thread.java:764)

Rejecting re-init on previously-failed class java.lang.Class<com.google.ads.mediation.unity.UnityAdapterDelegate>: java.lang.NoClassDefFoundError: Failed resolution of: Lcom/unity3d/ads/mediation/IUnityAdsExtendedListener;
  at java.lang.Object java.lang.reflect.Constructor.newInstance0(java.lang.Object[]) (Constructor.java:-2)
  at java.lang.Object java.lang.reflect.Constructor.newInstance(java.lang.Object[]) (Constructor.java:334)
  at com.google.android.gms.internal.ads.zzald com.google.android.gms.internal.ads.zzakz.zzdg(java.lang.String) (com.google.android.gms:play-services-ads-lite@@18.3.0:23)
  at com.google.android.gms.internal.ads.zzald com.google.android.gms.internal.ads.zzakz.zzde(java.lang.String) (com.google.android.gms:play-services-ads-lite@@18.3.0:2)
  at boolean com.google.android.gms.internal.ads.zzalb.zza(int, android.os.Parcel, android.os.Parcel, int) (com.google.android.gms:play-services-ads-lite@@18.3.0:11)

cut....

something seems to be missing, what can be?
 
Upvote 0

Ferdari

Active Member
Licensed User
Longtime User
I double checked and discovered one aar is missing, changed:;
B4X:
    #AdditionalJar: unity-3.4.2.0.aar
    #AdditionalJar: unity-3.4.2.0-sources.jar

To this:
B4X:
    #AdditionalJar: unity-3.4.2.0.aar 'Unity Adapter
    #AdditionalJar: unity-ads-3.4.2.aar 'Unity SDK

Now the error is gone, but i cant see any Unity ad, is there a way to only show Mediation ads?

or i need to add more files?

Here is the lastest unity SDK:
And lastest Adapter:

There are more files:
1582194054707.png


I see inside Javadoc Jar has html files, on sources has some .java files, do i need to integrate some of this too?

Official tutorial: Unity Ads Mediation With Admob
 
Upvote 0

Ferdari

Active Member
Licensed User
Longtime User
Hi @Erel , i integrated successfuly the files, there is no errors from unity ads now, but im still getting no impressions, how can i test mediation ads only?
 
Upvote 0
Top