Admob AppOpen Crash when upgrade verstion to v21.0.0

666 views
Skip to first unread message

ssjc...@gmail.com

unread,
Jun 28, 2022, 6:46:01 AM6/28/22
to Google Mobile Ads SDK Developers
for solve Admob ANR,we upgrade Admob version to v21.0.0
and update manifest according Optimize initialization and ad loading
however,AppOpen loading crash in some mobile phone which have no google server

we are use admob-lite:21.0.0
 implementation 'com.google.android.gms:play-services-ads-lite:21.0.0'

here is carsh info , hope for help ,thanks!


2022-06-28 18:38:53.303 23409-23409/com.google.android.gms.example.interstitialexample I/MyApplication: Application onCreate
2022-06-28 18:38:53.314 23409-23429/com.google.android.gms.example.interstitialexample W/System: ClassLoader referenced unknown path: /system/priv-app/GmsCore/lib/arm64
2022-06-28 18:38:53.326 23409-23409/com.google.android.gms.example.interstitialexample W/Ads: Failed to instantiate ClientApi class.
2022-06-28 18:38:53.334 23409-23435/com.google.android.gms.example.interstitialexample W/DynamiteModule: IDynamite loader version < 2, falling back to getModuleVersion2
2022-06-28 18:38:53.334 23409-23429/com.google.android.gms.example.interstitialexample W/DynamiteModule: IDynamite loader version < 2, falling back to getModuleVersion2
2022-06-28 18:38:53.341 23409-23409/com.google.android.gms.example.interstitialexample W/GooglePlayServicesUtil: com.google.android.gms.example.interstitialexample requires the Google Play Store, but it is missing.
2022-06-28 18:38:53.342 23409-23409/com.google.android.gms.example.interstitialexample W/DynamiteModule: Local module descriptor class for com.google.android.gms.ads.dynamite not found.
2022-06-28 18:38:53.342 23409-23409/com.google.android.gms.example.interstitialexample W/DynamiteModule: IDynamite loader version < 2, falling back to getModuleVersion2
2022-06-28 18:38:53.342 23409-23436/com.google.android.gms.example.interstitialexample I/HwCust: Constructor found for class android.app.HwCustAlarmManagerImpl
2022-06-28 18:38:53.342 23409-23436/com.google.android.gms.example.interstitialexample D/HwCust: Create obj success use class android.app.HwCustAlarmManagerImpl
2022-06-28 18:38:53.379 23409-23409/com.google.android.gms.example.interstitialexample W/Ads: ClientApi class cannot be loaded.
2022-06-28 18:38:53.379 23409-23429/com.google.android.gms.example.interstitialexample I/DynamiteModule: Considering local module com.google.android.gms.ads.dynamite:0 and remote module com.google.android.gms.ads.dynamite:9
2022-06-28 18:38:53.379 23409-23429/com.google.android.gms.example.interstitialexample I/DynamiteModule: Selected remote version of com.google.android.gms.ads.dynamite, version >= 9
2022-06-28 18:38:53.380 23409-23429/com.google.android.gms.example.interstitialexample W/DynamiteModule: Dynamite loader version < 2, falling back to createModuleContext
2022-06-28 18:38:53.380 23409-23435/com.google.android.gms.example.interstitialexample W/DynamiteLoaderImpl: Failed to load module version: module com.google.android.gms.measurement.dynamite not found
2022-06-28 18:38:53.380 23409-23435/com.google.android.gms.example.interstitialexample I/DynamiteModule: Considering local module com.google.android.gms.measurement.dynamite:0 and remote module com.google.android.gms.measurement.dynamite:0
2022-06-28 18:38:53.381 23409-23435/com.google.android.gms.example.interstitialexample W/FA-Ads: Data collection startup failed. No data will be collected.
    com.google.android.gms.dynamite.DynamiteModule$LoadingException: No acceptable module com.google.android.gms.measurement.dynamite found. Local version is 0 and remote version is 0.
        at com.google.android.gms.dynamite.DynamiteModule.load(com.google.android.gms:play-services-basement@@18.0.0:65)
        at com.google.android.gms.internal.measurement.zzee.zzf(com.google.android.gms:play-services-measurement-sdk-api@@20.1.2:2)
        at com.google.android.gms.internal.measurement.zzcx.zza(com.google.android.gms:play-services-measurement-sdk-api@@20.1.2:3)
        at com.google.android.gms.internal.measurement.zzdt.run(com.google.android.gms:play-services-measurement-sdk-api@@20.1.2:2)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588)
        at java.lang.Thread.run(Thread.java:833)
2022-06-28 18:38:53.381 23409-23435/com.google.android.gms.example.interstitialexample W/FA-Ads: Failed to connect to measurement client.
2022-06-28 18:38:53.396 23409-23429/com.google.android.gms.example.interstitialexample D/HwCust: Create obj success use class android.content.res.HwCustHwResourcesImpl
2022-06-28 18:38:53.403 23409-23429/com.google.android.gms.example.interstitialexample W/Ads: #007 Could not call remote method. @2
    com.google.android.gms.internal.ads.zzcfl: com.google.android.gms.dynamite.DynamiteModule$LoadingException: Failed to instantiate module class: com.google.android.gms.ads.measurement.DynamiteMeasurementManager
        at com.google.android.gms.internal.ads.zzcfm.zzb(com.google.android.gms:play-services-ads-lite@@21.0.0:2)
        at com.google.android.gms.internal.ads.zzbtr.run(com.google.android.gms:play-services-ads-lite@@21.0.0:11)
        at java.lang.Thread.run(Thread.java:833)
     Caused by: com.google.android.gms.dynamite.DynamiteModule$LoadingException: Failed to instantiate module class: com.google.android.gms.ads.measurement.DynamiteMeasurementManager
        at com.google.android.gms.dynamite.DynamiteModule.instantiate(com.google.android.gms:play-services-basement@@18.0.0:3)
        at com.google.android.gms.internal.ads.zzcfm.zzb(com.google.android.gms:play-services-ads-lite@@21.0.0:1)
        at com.google.android.gms.internal.ads.zzbtr.run(com.google.android.gms:play-services-ads-lite@@21.0.0:11) 
        at java.lang.Thread.run(Thread.java:833) 
     Caused by: java.lang.ClassNotFoundException: Didn't find class "com.google.android.gms.ads.measurement.DynamiteMeasurementManager" on path: DexPathList[[zip file "/data/data/com.google.android.gms/app_chimera/m/00000003/DynamiteModulesA_GmsCore_prodmnc_alldpi_release.apk"],nativeLibraryDirectories=[/data/user/0/com.google.android.gms/app_chimera/m/00000003/n/arm64-v8a, /vendor/lib64, /system/lib64]]
        at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:56)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:511)
        at com.google.android.chimera.container.internal.DelegateLastPathClassLoader.loadClass(:com.google.android.gms:34)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:469)
        at com.google.android.gms.dynamite.DynamiteModule.instantiate(com.google.android.gms:play-services-basement@@18.0.0:1)
        at com.google.android.gms.internal.ads.zzcfm.zzb(com.google.android.gms:play-services-ads-lite@@21.0.0:1) 
        at com.google.android.gms.internal.ads.zzbtr.run(com.google.android.gms:play-services-ads-lite@@21.0.0:11) 
        at java.lang.Thread.run(Thread.java:833) 
        Suppressed: java.lang.ClassNotFoundException: com.google.android.gms.ads.measurement.DynamiteMeasurementManager
        at java.lang.Class.classForName(Native Method)
        at java.lang.BootClassLoader.findClass(ClassLoader.java:781)
        at java.lang.BootClassLoader.loadClass(ClassLoader.java:841)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:469)
        at com.google.android.chimera.container.internal.FilteringClassLoader.loadClass(:com.google.android.gms:472)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:504)
                ... 6 more
     Caused by: java.lang.NoClassDefFoundError: Class not found using the boot class loader; no stack trace available
2022-06-28 18:38:53.411 23409-23409/com.google.android.gms.example.interstitialexample D/DynamitePackage: Instantiated singleton DynamitePackage.
2022-06-28 18:38:53.411 23409-23409/com.google.android.gms.example.interstitialexample D/DynamitePackage: Instantiating com.google.android.gms.ads.ChimeraMobileAdsSettingManagerCreatorImpl
2022-06-28 18:38:53.443 23409-23409/com.google.android.gms.example.interstitialexample D/HwCust: Create obj success use class android.content.res.HwCustHwResourcesImpl
2022-06-28 18:38:53.466 23409-23447/com.google.android.gms.example.interstitialexample I/WebViewFactory: Loading com.google.android.webview version 55.0.2883.91 (code 288309150)
2022-06-28 18:38:53.467 23409-23409/com.google.android.gms.example.interstitialexample D/HwCust: Create obj success use class android.content.res.HwCustHwResourcesImpl
2022-06-28 18:38:53.469 23409-23409/com.google.android.gms.example.interstitialexample V/HwPolicyFactory: : success to get AllImpl object and return....
2022-06-28 18:38:53.474 23409-23409/com.google.android.gms.example.interstitialexample D/HwCust: Create obj success use class android.content.res.HwCustHwResourcesImpl
2022-06-28 18:38:53.478 23409-23409/com.google.android.gms.example.interstitialexample V/HwWidgetFactory: : successes to get AllImpl object and return....
2022-06-28 18:38:53.481 23409-23409/com.google.android.gms.example.interstitialexample V/ActivityThread: ActivityThread,callActivityOnCreate
2022-06-28 18:38:53.499 23409-23447/com.google.android.gms.example.interstitialexample D/HwCust: Create obj success use class android.content.res.HwCustHwResourcesImpl
2022-06-28 18:38:53.503 23409-23447/com.google.android.gms.example.interstitialexample W/System: ClassLoader referenced unknown path: /system/app/WebViewGoogle/lib/arm64
2022-06-28 18:38:53.512 23409-23447/com.google.android.gms.example.interstitialexample I/art: Rejecting re-init on previously-failed class java.lang.Class<com.android.webview.chromium.TokenBindingManagerAdapter>
2022-06-28 18:38:53.512 23409-23447/com.google.android.gms.example.interstitialexample I/art: Rejecting re-init on previously-failed class java.lang.Class<com.android.webview.chromium.TokenBindingManagerAdapter>
2022-06-28 18:38:53.519 23409-23447/com.google.android.gms.example.interstitialexample I/art: Rejecting re-init on previously-failed class java.lang.Class<com.android.webview.chromium.ServiceWorkerControllerAdapter>
2022-06-28 18:38:53.520 23409-23447/com.google.android.gms.example.interstitialexample I/art: Rejecting re-init on previously-failed class java.lang.Class<com.android.webview.chromium.ServiceWorkerControllerAdapter>
2022-06-28 18:38:53.529 23409-23447/com.google.android.gms.example.interstitialexample I/cr_LibraryLoader: Time to load native libraries: 3 ms (timestamps 9070-9073)
2022-06-28 18:38:53.529 23409-23447/com.google.android.gms.example.interstitialexample I/cr_LibraryLoader: Expected native library version number "55.0.2883.91", actual native library version number "55.0.2883.91"
2022-06-28 18:38:53.553 23409-23409/com.google.android.gms.example.interstitialexample W/art: Before Android 4.1, method android.graphics.PorterDuffColorFilter androidx.vectordrawable.graphics.drawable.VectorDrawableCompat.updateTintFilter(android.graphics.PorterDuffColorFilter, android.content.res.ColorStateList, android.graphics.PorterDuff$Mode) would have incorrectly overridden the package-private method in android.graphics.drawable.Drawable
2022-06-28 18:38:53.589 23409-23409/com.google.android.gms.example.interstitialexample D/AppOpenAdManager: The app open ad is not ready yet.
2022-06-28 18:38:53.591 23409-23409/com.google.android.gms.example.interstitialexample D/ActivityThread: add activity client record, r= ActivityRecord{5626452 token=android.os.BinderProxy@9a280dd {com.google.android.gms.example.interstitialexample/com.google.android.gms.example.interstitialexample.SplashActivity}} token= android.os.BinderProxy@9a280dd
2022-06-28 18:38:53.592 23409-23459/com.google.android.gms.example.interstitialexample W/GooglePlayServicesUtil: com.google.android.gms.example.interstitialexample requires the Google Play Store, but it is missing.
2022-06-28 18:38:53.593 23409-23459/com.google.android.gms.example.interstitialexample W/DynamiteModule: Local module descriptor class for com.google.android.gms.ads.dynamite not found.
2022-06-28 18:38:53.593 23409-23459/com.google.android.gms.example.interstitialexample W/DynamiteModule: IDynamite loader version < 2, falling back to getModuleVersion2
2022-06-28 18:38:53.594 23409-23459/com.google.android.gms.example.interstitialexample W/Ads: ClientApi class cannot be loaded.
2022-06-28 18:38:53.599 23409-23459/com.google.android.gms.example.interstitialexample D/DynamitePackage: Instantiating com.google.android.gms.ads.ChimeraAdManagerCreatorImpl
2022-06-28 18:38:53.600 23409-23460/com.google.android.gms.example.interstitialexample D/OpenGLRenderer: Use EGL_SWAP_BEHAVIOR_PRESERVED: false
   
    --------- beginning of crash
2022-06-28 18:38:53.604 23409-23459/com.google.android.gms.example.interstitialexample E/AndroidRuntime: FATAL EXCEPTION: AdWorker(ClientSingle) #1
    Process: com.google.android.gms.example.interstitialexample, PID: 23409
    java.lang.IllegalArgumentException: Invalid manager type: 4
        at com.google.android.gms.ads.ChimeraAdManagerCreatorImpl.newAdManagerByType(:com.google.android.gms.DynamiteModulesA:89)
        at com.google.android.gms.ads.internal.client.al.onTransact(:com.google.android.gms.DynamiteModulesA:91)
        at android.os.Binder.transact(Binder.java:387)
        at com.google.android.gms.ads.internal.client.am.newAdManagerByType(:com.google.android.gms:170)
        at com.google.android.gms.ads.AdManagerCreatorImpl.newAdManagerByType(:com.google.android.gms:92)
        at com.google.android.gms.ads.internal.client.al.onTransact(:com.google.android.gms:91)
        at android.os.Binder.transact(Binder.java:387)
        at com.google.android.gms.internal.ads.zzaqv.zzbk(com.google.android.gms:play-services-ads-base@@21.0.0:2)
        at com.google.android.gms.ads.internal.client.zzbt.zze(com.google.android.gms:play-services-ads-lite@@21.0.0:8)
        at com.google.android.gms.ads.internal.client.zzk.zza(com.google.android.gms:play-services-ads-lite@@21.0.0:15)
        at com.google.android.gms.ads.internal.client.zzai.zzc(com.google.android.gms:play-services-ads-lite@@21.0.0:1)
        at com.google.android.gms.ads.internal.client.zzav.zzf(com.google.android.gms:play-services-ads-lite@@21.0.0:1)
        at com.google.android.gms.ads.internal.client.zzav.zzd(com.google.android.gms:play-services-ads-lite@@21.0.0:10)
        at com.google.android.gms.ads.internal.client.zzau.zzd(com.google.android.gms:play-services-ads-lite@@21.0.0:2)
        at com.google.android.gms.internal.ads.zzbcn.zza(com.google.android.gms:play-services-ads-lite@@21.0.0:3)
        at com.google.android.gms.ads.appopen.zzb.run(com.google.android.gms:play-services-ads-lite@@21.0.0:2)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588)
        at java.lang.Thread.run(Thread.java:833)
2022-06-28 18:38:53.913 23409-23459/com.google.android.gms.example.interstitialexample I/Process: Sending signal. PID: 23409 SIG: 9

Mobile Ads SDK Forum Advisor

unread,
Jun 28, 2022, 10:13:56 AM6/28/22
to ssjc...@gmail.com, google-adm...@googlegroups.com

Hi,

Thank you for reaching out to us.

For us to further check this, can you provide the following details below privately?

  • App ID
  • Ad Unit ID/s
  • Sample project (if crashes)
  • Steps on how to reproduce the issue (if crashes)
  • Screenshots/video recordings of the issue (if crashes)
  • Crash-related logs (if crashes, e.g. breakdown of crashed devices)

If the file(s) you are looking to share are less than 25mb in total you can attach them to this case on your next reply. If you are having trouble attaching your file to this case or if your file(s) are larger than 25mb, you can share your files with me by performing the following steps:

1. Navigate to https://docs.google.com/forms/d/e/1FAIpQLSfkAiXMeYP-fw1W3Z-tT9uwmATEKO5X6S-th0gR2ezdKaaqfg/viewform?usp=pp_url&entry.400550049=Mobile+Ads+SDK&entry.460850823=5004Q00002cDyRsQAK&entry.80707362=00112419
2. Fill out all fields, and attach your file(s).
3. Please reply back on this thread when you have uploaded your file(s). Please do not share this link.

Regards,

Google Logo
Princess Pamela
Mobile Ads SDK Team
 

 



ref:_00D1U1174p._5004Q2cDyRs:ref
Reply all
Reply to author
Forward
0 new messages