googleads / googleads-mobile-unity

Official Unity Plugin for the Google Mobile Ads SDK
https://developers.google.com/admob/unity
Apache License 2.0
1.38k stars 1.08k forks source link

Crashes Increased due to Applovin Adapters Google Mobile Ads 9.2.1 Unity 2022.3.50. com.google.ads.mediation.applovin.AppLovinInterstitialRenderer.adReceived #3639

Open atstechnologies opened 1 month ago

atstechnologies commented 1 month ago

[REQUIRED] Step 1: Describe your environment

[REQUIRED] Step 2: Describe the problem

Steps to reproduce:

Exception java.lang.Error: FATAL EXCEPTION [main] Unity version : 2022.3.50f1 Device model : samsung SM-A015M Device fingerprint: samsung/a01qub/a01q:12/SP1A.210812.016/A015MUBS5CWI4:user/release-keys CPU supported ABI : [armeabi-v7a, armeabi] Build Type : Release Scripting Backend : IL2CPP Libs loaded from : lib/arm Strip Engine Code : true

Caused by: java.lang.NoSuchMethodError: No interface method getAdIdNumber()J in class Lcom/applovin/sdk/AppLovinAd; or its super classes (declaration of 'com.applovin.sdk.AppLovinAd' appears in base.apk!classes6.dex) at com.google.ads.mediation.applovin.AppLovinInterstitialRenderer.adReceived (AppLovinInterstitialRenderer.java:84) at com.applovin.impl.um.adReceived (SourceFile:124) at com.applovin.impl.bm.i (SourceFile:850) at com.applovin.impl.bm.$r8$lambda$e4DmG4TncmjDWJ2UBSiFg6ejUII at com.applovin.impl.bm$$ExternalSyntheticLambda0.run at android.os.Handler.handleCallback (Handler.java:938) at android.os.Handler.dispatchMessage (Handler.java:99) at android.os.Looper.loopOnce (Looper.java:226) at android.os.Looper.loop (Looper.java:313) at android.app.ActivityThread.main (ActivityThread.java:8669) at java.lang.reflect.Method.invoke at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:571) at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:1135)

Relevant Code:

// TODO(you): code here to reproduce the problem
NVentimiglia commented 1 month ago

Caused by: java.lang.NoSuchMethodError: No interface method getAdIdNumber()J in class Lcom/applovin/sdk/AppLovinAd; or its super classes (declaration of 'com.applovin.sdk.AppLovinAd' appears in base.apk!classes6.dex)

This is usually caused by the App Lovin SDK not being included in the build. Please verify this is included, if it is not double check the external dependency manager and its configuration.