ANR with Google Mobile Ads [Android]

510 views
Skip to first unread message

Obaid Ahmed

unread,
Jun 6, 2018, 12:05:10 PM6/6/18
to Google Mobile Ads SDK Developers
Hello, I am seeing increasing number of ANR's in my Developer Console caused by Google Mobile Ads SDK.
I've attached screenshot showing my play-services libraries. 

Using
- Unity 2018.1
- Target API Level 27

ANR: 
#00 pc 00000000000173e4 /system/lib/libc.so (syscall+28)
#01 pc 00000000000b6a3d /system/lib/libart.so (_ZN3art17ConditionVariable16WaitHoldingLocksEPNS_6ThreadE+92)
#02 pc 000000000027d331 /system/lib/libart.so (_ZN3art3JNI25GetPrimitiveArrayCriticalEP7_JNIEnvP7_jarrayPh+212)
#03 pc 0000000000092663 /system/lib/libandroid_runtime.so (???)
#04 pc 0000000000093987 /system/lib/libandroid_runtime.so (???)
#05 pc 0000000000277bc9 /system/framework/arm/boot-framework.oat (Java_android_content_res_AssetManager_openNonAssetFdNative__ILjava_lang_String_2_3J+132)
at android.content.res.AssetManager.openNonAssetFdNative (Native method)
at android.content.res.AssetManager.openNonAssetFd (AssetManager.java:460)
- locked <0x02b95149> (a android.content.res.AssetManager)
at android.content.res.AssetManager.openNonAssetFd (AssetManager.java:451)
at org.chromium.base.ApkAssets.open (ApkAssets.java:5)
at org.chromium.content.app.ContentMain.nativeStart (Native method)
at org.chromium.content.app.ContentMain.start (ContentMain.java:2)
at org.chromium.content.browser.BrowserStartupController.startBrowserProcessesSync (BrowserStartupController.java:19)
at org.chromium.android_webview.AwBrowserProcess$1.run (AwBrowserProcess.java:14)
at org.chromium.base.ThreadUtils.runOnUiThreadBlocking (ThreadUtils.java:10)
at com.android.webview.chromium.WebViewChromiumFactoryProvider.startChromiumLocked (WebViewChromiumFactoryProvider.java:219)
at com.android.webview.chromium.WebViewChromiumFactoryProvider.ensureChromiumStartedLocked (WebViewChromiumFactoryProvider.java:152)
at com.android.webview.chromium.WebViewChromiumFactoryProvider.startYourEngines (WebViewChromiumFactoryProvider.java:242)
- locked <0x07220a4e> (a java.lang.Object)
at com.android.webview.chromium.WebViewChromium.init (WebViewChromium.java:30)
at android.webkit.WebView.<init> (WebView.java:643)
at android.webkit.WebView.<init> (WebView.java:579)
at android.webkit.WebView.<init> (WebView.java:562)
at android.webkit.WebView.<init> (WebView.java:549)
at android.webkit.WebView.<init> (WebView.java:539)
at com.google.android.gms.ads.internal.webview.q.call (unavailable:5)
at com.google.android.gms.ads.internal.js.z.run (unavailable:5)
at android.os.Binder.transact (Binder.java:525)
at com.google.android.gms.internal.zzev.zzb (unavailable)
at com.google.android.gms.internal.zzmj.zza (unavailable)
at com.google.android.gms.internal.zzmz.zza (unavailable)
- locked <0x0c613c7c> (a java.lang.Object)
at com.google.android.gms.ads.MobileAds.initialize (unavailable)
at com.google.android.gms.ads.MobileAds.initialize (unavailable)
at com.heyzap.sdk.mediation.adapter.AdmobAdapter.onStart (AdmobAdapter.java:138)
at com.heyzap.mediation.abstr.NetworkAdapter$1.run (NetworkAdapter.java:105)
at com.heyzap.common.concurrency.WrappedRunnable.run (WrappedRunnable.java:26)
at com.heyzap.common.concurrency.HandlerExecutorService$2.run (HandlerExecutorService.java:59)
at android.os.Handler.handleCallback (Handler.java:751)
at android.os.Handler.dispatchMessage (Handler.java:95)
at android.os.Looper.loop (Looper.java:154)
at android.app.ActivityThread.main (ActivityThread.java:6146)
at java.lang.reflect.Method.invoke! (Native method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run (ZygoteInit.java:865)
at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:755)
Screen Shot 2018-06-06 at 9.03.56 PM.png

mobileadssdk-a...@google.com

unread,
Jun 6, 2018, 3:01:50 PM6/6/18
to Obaid Ahmed, Google Mobile Ads SDK Developers
Hello Ahmed, 

Thank you for contacting us. Is the ANR reproducible on our sample apps? If so, could you please elaborate the issue with the detailed steps? If not, could you please share the following details, so I can take closer look? 
  • Complete stack trace
  • Sample project
  • Steps to reproduce
  • Type of ads being served?
This information will help us investigate the issue further. You can reply back via Reply privately to author option.

Regards,
Bharani Cherukuri
Mobile Ads SDK Team

=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+ page:
    http://googleadsdeveloper.blogspot.com
    https://plus.google.com/115658573333388777174/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

mobileadssdk-a...@google.com

unread,
Jun 7, 2018, 3:30:58 PM6/7/18
to Obaid Ahmed, Google Mobile Ads SDK Developers
Hi Ahmed, 

Thank you for the details privately. I have shared this information with the team. I will keep you posted if I have any new updates. 

Regards,
Bharani Cherukuri
Mobile Ads SDK Team

Obaid Ahmed

unread,
Jun 15, 2018, 10:09:53 AM6/15/18
to Google Mobile Ads SDK Developers
Any update? Because i can see many other posts with same message so it means that there's some problem at Google's end.

mobileadssdk-a...@google.com

unread,
Jun 15, 2018, 10:12:19 AM6/15/18
to Obaid Ahmed, Google Mobile Ads SDK Developers
Hello Ahmed, 

Our team is actively investigating the issue. I will keep you posted if I have any new updates to share. 

Thanks,
Bharani Cherukuri
Mobile Ads SDK Team

mobileadssdk...@google.com

unread,
Jan 29, 2019, 3:52:38 PM1/29/19
to Google Mobile Ads SDK Developers
Hello Obaid, 

Following up on this thread, could you please confirm if you're still seeing the ANR reports with the latest version of the Unity plugin? If so, could you please share the complete stack trace to troubleshoot this further?

Thanks,
Bharani Cherukuri
Mobile Ads SDK Team
Reply all
Reply to author
Forward
0 new messages