- Home /
This question was
closed Jun 26, 2018 at 05:00 AM by
JbStudio425 for the following reason:
The question is answered, right answer was accepted
Question by
JbStudio425 · Jun 13, 2018 at 11:41 AM ·
androidandroid buildadmobplugins
com.google.android.gms.ads.MobileAds Issue With Firebase
: AndroidJavaException: java.lang.ClassNotFoundException: com.google.android.gms.ads.MobileAds : java.lang.ClassNotFoundException: com.google.android.gms.ads.MobileAds : at java.lang.Class.classForName(Native Method) : at java.lang.Class.forName(Class.java:309) : at java.lang.Class.forName(Class.java:273) : at com.unity3d.player.UnityPlayer.nativeRender(Native Method) : at com.unity3d.player.UnityPlayer.c(Unknown Source) : at com.unity3d.player.UnityPlayer$e$2.queueIdle(Unknown Source) : at android.os.MessageQueue.next(MessageQueue.java:211) : at android.os.Looper.loop(Looper.java:130) : at com.unity3d.player.UnityPlayer$e.run(Unknown Source) : Caused by: java.lang.ClassNotFoundException: Didn't find class "com.google.android.gms.ads.MobileAds" on path: DexPathList[[zip file "/data/app/com.google.firebase.unity.analytics.testapp-2/base.apk"],nativeLibraryDirectories=[/data/app/com.google.firebase.unity.analytics.testapp-2/lib/arm, /vendor/lib, /system/lib]] E/Unity (17646): at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.
Plugin Folder
Get this error on using Firebase plugin with AdMob & build using Gradle System Unity.
> Tried this solution
> https://github.com/googleads/googleads-mobile-unity/issues/598
But the problem didn't solve. Any workaround for this error ?
Comment
Best Answer
Answer by JbStudio425 · Jun 26, 2018 at 05:00 AM
updating the version of the Google Mobile Ads SDK from 12.0.1 to 15.0.1 in Assets/GoogleMobileAds/Editor/GoogleMobileAdsDependencies.xml resolve this issue.