Greetings,
When google examined my app (the app is still getting examined for like 4 days already) it gave me an error for a Nokia 1 phone:
at com.google.android.gms.ads.rewarded.RewardedAd.load(com.google.android.gms:play-services-ads-lite@@19.7.0:13)
FATAL EXCEPTION: Thread-2 Process: com.viewabreast.infogems, PID: 1810 java.lang.NoClassDefFoundError: Failed resolution of: Lcom/google/android/gms/tasks/Tasks; at com.google.android.gms.internal.ads.zzdsy.zza(com.google.android.gms:play-services-gass@@19.7.0:4) at com.google.android.gms.ads.internal.zzf.<init>(com.google.android.gms:play-services-ads@@19.7.0:11) at com.google.android.gms.internal.ads.zzbgb.zzaey(com.google.android.gms:play-services-ads@@19.7.0:10) at com.google.android.gms.internal.ads.zzbgg.get(com.google.android.gms:play-services-ads@@19.7.0:6) at com.google.android.gms.internal.ads.zzeqc.get(com.google.android.gms:play-services-ads@@19.7.0:10) at com.google.android.gms.internal.ads.zzcml.get(com.google.android.gms:play-services-ads@@19.7.0:8) at com.google.android.gms.internal.ads.zzeqc.get(com.google.android.gms:play-services-ads@@19.7.0:10) at com.google.android.gms.internal.ads.zzdaw.get(com.google.android.gms:play-services-ads@@19.7.0:7) at com.google.android.gms.internal.ads.zzeqk.get(com.google.android.gms:play-services-ads@@19.7.0:17) at com.google.android.gms.internal.ads.zzdfm.get(com.google.android.gms:play-services-ads@@19.7.0:8) at com.google.android.gms.internal.ads.zzbqw.get(com.google.android.gms:play-services-ads@@19.7.0:15) at com.google.android.gms.internal.ads.zzcqj.get(com.google.android.gms:play-services-ads@@19.7.0:9) at com.google.android.gms.internal.ads.zzcqc.get(com.google.android.gms:play-services-ads@@19.7.0:6) at com.google.android.gms.internal.ads.zzeqc.get(com.google.android.gms:play-services-ads@@19.7.0:10) at com.google.android.gms.internal.ads.zzcps.get(com.google.android.gms:play-services-ads@@19.7.0:7) at com.google.android.gms.internal.ads.zzeqc.get(com.google.android.gms:play-services-ads@@19.7.0:10) at com.google.android.gms.internal.ads.zzeqk.get(com.google.android.gms:play-services-ads@@19.7.0:17) at com.google.android.gms.internal.ads.zzbwk.get(com.google.android.gms:play-services-ads@@19.7.0:7) at com.google.android.gms.internal.ads.zzeqc.get(com.google.android.gms:play-services-ads@@19.7.0:10) at com.google.android.gms.internal.ads.zzbid.zzagj(com.google.android.gms:play-services-ads@@19.7.0:216) at com.google.android.gms.internal.ads.zzdkf.zza(com.google.android.gms:play-services-ads@@19.7.0:5) at com.google.android.gms.internal.ads.zzdmc.zza(com.google.android.gms:play-services-ads@@19.7.0:31) at com.google.android.gms.internal.ads.zzdmk.zza(com.google.android.gms:play-services-ads@@19.7.0:78) at com.google.android.gms.internal.ads.zzdmk.zza(com.google.android.gms:play-services-ads@@19.7.0:11) at com.google.android.gms.internal.ads.zzawb.zza(com.google.android.gms:play-services-ads-lite@@19.7.0:12) at com.google.android.gms.ads.rewarded.RewardedAd.load(com.google.android.gms:play-services-ads-lite@@19.7.0:13) at com.google.appinventor.components.runtime.KodularAdManagerRewarded$2.onResult(SourceFile:177) at com.google.appinventor.components.runtime.util.KodularContentProtection.setInterfaceHelper(SourceFile:133) at com.google.appinventor.components.runtime.util.KodularContentProtection.access$400(SourceFile:38) at com.google.appinventor.components.runtime.util.KodularContentProtection$a.onPostExecute(SourceFile:1127) at android.os.AsyncTask.finish(AsyncTask.java:695) at android.os.AsyncTask.-wrap1(Unknown Source:0) at android.os.AsyncTask$InternalHandler.handleMessage(AsyncTask.java:712) at android.os.Handler.dispatchMessage(Handler.java:106) at androidx.test.espresso.base.Interrogator.loopAndInterrogate(Interrogator.java:10) at androidx.test.espresso.base.UiControllerImpl.loopUntil(UiControllerImpl.java:7) at androidx.test.espresso.base.UiControllerImpl.loopMainThreadUntilIdle(UiControllerImpl.java:16) at androidx.test.espresso.base.UiControllerImpl.injectMotionEvent(UiControllerImpl.java:13) at androidx.test.espresso.action.MotionEvents.sendUp(MotionEvents.java:6) at androidx.test.espresso.action.MotionEvents.sendUp(MotionEvents.java:1) at androidx.test.espresso.action.Tap.sendSingleTap(Tap.java:5) at androidx.test.espresso.action.Tap.-$$Nest$smsendSingleTap(Unknown Source:0) at androidx.test.espresso.action.Tap$1.sendTap(Tap.java:1) at androidx.test.espresso.action.GeneralClickAction.perform(GeneralClickAction.java:4) at androidx.test.espresso.ViewInteraction$SingleExecutionViewAction.perform(ViewInteraction.java:2) at androidx.test.espresso.ViewInteraction.doPerform(ViewInteraction.java:21) at androidx.test.espresso.ViewInteraction.-$$Nest$mdoPerform(Unknown Source:0) at androidx.test.espresso.ViewInteraction$1.call(ViewInteraction.java:6) at androidx.test.espresso.ViewInteraction$1.call(ViewInteraction.java:1) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at android.os.Handler.handleCallback(Handler.java:790) at android.os.Handler.dispatchMessage(Handler.java:99) at android.os.Looper.loop(Looper.java:164) at android.app.ActivityThread.main(ActivityThread.java:6523) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:438) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:857) Caused by: java.lang.ClassNotFoundException: Didn't find class "com.google.android.gms.tasks.Tasks" on path: DexPathList[[zip file "/system/framework/android.test.runner.jar", zip file "/system/framework/android.test.mock.jar", zip file "/data/app/androidx.test.tools.crawler-NGz0kNMSyqi4w1Rfvqisqw==/base.apk", zip file "/data/app/com.viewabreast.infogems-zqhBgyCg2wWlytJgtqr0Tw==/base.apk", zip file "/data/app/com.viewabreast.infogems-zqhBgyCg2wWlytJgtqr0Tw==/split_config.en.apk", zip file "/data/app/com.viewabreast.infogems-zqhBgyCg2wWlytJgtqr0Tw==/split_config.hdpi.apk"],nativeLibraryDirectories=[/data/app/androidx.test.tools.crawler-NGz0kNMSyqi4w1Rfvqisqw==/lib/arm, /data/app/com.viewabreast.infogems-zqhBgyCg2wWlytJgtqr0Tw==/lib/arm, /system/lib, /vendor/lib]] at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:125) at java.lang.ClassLoader.loadClass(ClassLoader.java:379) at java.lang.ClassLoader.loadClass(ClassLoader.java:312) ... 57 more Suppressed: java.io.IOException: No original dex files found for dex location /data/app/com.viewabreast.infogems-zqhBgyCg2wWlytJgtqr0Tw==/split_config.en.apk at dalvik.system.DexFile.openDexFileNative(Native Method) at dalvik.system.DexFile.openDexFile(DexFile.java:353) at dalvik.system.DexFile.<init>(DexFile.java:100) at dalvik.system.DexFile.<init>(DexFile.java:74) at dalvik.system.DexPathList.loadDexFile(DexPathList.java:374) at dalvik.system.DexPathList.makeDexElements(DexPathList.java:337) at dalvik.system.DexPathList.<init>(DexPathList.java:157) at dalvik.system.BaseDexClassLoader.<init>(BaseDexClassLoader.java:65) at dalvik.system.PathClassLoader.<init>(PathClassLoader.java:64) at com.android.internal.os.ClassLoaderFactory.createClassLoader(ClassLoaderFactory.java:73) at com.android.internal.os.ClassLoaderFactory.createClassLoader(ClassLoaderFactory.java:88) at android.app.ApplicationLoaders.getClassLoader(ApplicationLoaders.java:69) at android.app.ApplicationLoaders.getClassLoader(ApplicationLoaders.java:35) at android.app.LoadedApk.createOrUpdateClassLoaderLocked(LoadedApk.java:693) at android.app.LoadedApk.getClassLoader(LoadedApk.java:727) at android.app.LoadedApk.getResources(LoadedApk.java:954) at android.app.ContextImpl.createAppContext(ContextImpl.java:2271) at android.app.ActivityThread.handleBindApplication(ActivityThread.java:5666) at android.app.ActivityThread.-wrap1(Unknown Source:0) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1680) at android.os.Handler.dispatchMessage(Handler.java:106) ... 5 more Suppressed: java.io.IOException: No original dex files found for dex location /data/app/com.viewabreast.infogems-zqhBgyCg2wWlytJgtqr0Tw==/split_config.hdpi.apk at dalvik.system.DexFile.openDexFileNative(Native Method) at dalvik.system.DexFile.openDexFile(DexFile.java:353) at dalvik.system.DexFile.<init>(DexFile.java:100) at dalvik.system.DexFile.<init>(DexFile.java:74) at dalvik.system.DexPathList.loadDexFile(DexPathList.java:374) at dalvik.system.DexPathList.makeDexElements(DexPathList.java:337) at dalvik.system.DexPathList.<init>(DexPathList.java:157) at dalvik.system.BaseDexClassLoader.<init>(BaseDexClassLoader.java:65) at dalvik.system.PathClassLoader.<init>(PathClassLoader.java:64) at com.android.internal.os.ClassLoaderFactory.createClassLoader(ClassLoaderFactory.java:73) at com.android.internal.os.ClassLoaderFactory.createClassLoader(ClassLoaderFactory.java:88) at android.app.ApplicationLoaders.getClassLoader(ApplicationLoaders.java:69) at android.app.ApplicationLoaders.getClassLoader(ApplicationLoaders.java:35) at android.app.LoadedApk.createOrUpdateClassLoaderLocked(LoadedApk.java:693) at android.app.LoadedApk.getClassLoader(LoadedApk.java:727) at android.app.LoadedApk.getResources(LoadedApk.java:954) at android.app.ContextImpl.createAppContext(ContextImpl.java:2271) at android.app.ActivityThread.handleBindApplication(ActivityThread.java:5666) at android.app.ActivityThread.-wrap1(Unknown Source:0) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1680) at android.os.Handler.dispatchMessage(Handler.java:106) ... 5 more
The thing is that my ads worked on other tested devices (all of them). And sadly, I don’t think google will let me publish the app if I don’t fix that error, so please help me asap I’m desperate. Thanks!
QUICK EDIT that might reveal some important information: earlier this day when I checked, there was a xiaomi a6 with the same issue, now it is gone from that tab and it got sent to phones with no problems running all the features on my app. I don’t know if the Nokia is also a bug from google, this is my first time uploading an app.