02-19 16:58:40.615 4827-4827/? E/AndroidRuntime: FATAL EXCEPTION: main Process: com.example.canva, PID: 4827 java.lang.RuntimeException: Unable to get provider com.google.android.gms.ads.MobileAdsInitProvider: java.lang.ClassNotFoundException: Didn't find class "com.google.android.gms.ads.MobileAdsInitProvider" on path: DexPathList[[zip file "/data/app/com.example.canva-1.apk"],nativeLibraryDirectories=[/data/app-lib/com.example.canva-1, /vendor/lib, /system/lib, /system/lib/arm]] at android.app.ActivityThread.installProvider(ActivityThread.java:5256) at android.app.ActivityThread.installContentProviders(ActivityThread.java:4847) at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4730) at android.app.ActivityThread.access$1600(ActivityThread.java:172) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1368) at android.os.Handler.dispatchMessage(Handler.java:102) at android.os.Looper.loop(Looper.java:146) at android.app.ActivityThread.main(ActivityThread.java:5653) at java.lang.reflect.Method.invokeNative(Native Method) at java.lang.reflect.Method.invoke(Method.java:515) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1291) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1107) at dalvik.system.NativeStart.main(Native Method) Caused by: java.lang.ClassNotFoundException: Didn't find class "com.google.android.gms.ads.MobileAdsInitProvider" on path: DexPathList[[zip file "/data/app/com.example.canva-1.apk"],nativeLibraryDirectories=[/data/app-lib/com.example.canva-1, /vendor/lib, /system/lib, /system/lib/arm]] at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:56) at java.lang.ClassLoader.loadClass(ClassLoader.java:497) at java.lang.ClassLoader.loadClass(ClassLoader.java:457) at android.app.ActivityThread.installProvider(ActivityThread.java:5241) at android.app.ActivityThread.installContentProviders(ActivityThread.java:4847) at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4730) at android.app.ActivityThread.access$1600(ActivityThread.java:172) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1368) at android.os.Handler.dispatchMessage(Handler.java:102) at android.os.Looper.loop(Looper.java:146) at android.app.ActivityThread.main(ActivityThread.java:5653) at java.lang.reflect.Method.invokeNative(Native Method) at java.lang.reflect.Method.invoke(Method.java:515) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1291) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1107) at dalvik.system.NativeStart.main(Native Method)
Regards,
Deepika Uragayala
Mobile Ads SDK Team
Hi there,
Thank you for providing the requested details in private.
It seems that there might be an issue with using MultiDex on an old Android version for your app. If you are using MultiDex, could you then kindly try the solution suggested here, and confirm whether or not it would work on your end?
If the situation persists despite the above (or if you weren't using MultiDex in the first place), could you then send the details below (via Reply privately to author) so that I can further investigate the issue?
Regards,
Ziv Yves Sanchez