ANR in Admob SDK

1,168 views
Skip to first unread message

MM-KTM

unread,
Oct 28, 2022, 5:52:04 AM10/28/22
to Google Mobile Ads SDK Developers
Hello,

We are seeing an increase in the number of ANR's in our android app and our app ratings are going down.

Please find the log from the Play Console:

#00 pc 0x000000000004b48c /apex/com.android.runtime/lib64/bionic/libc.so (syscall+28) #01 pc 0x00000000001af92c /apex/com.android.art/lib64/libart.so (art::ConditionVariable::WaitHoldingLocks(art::Thread*)+148) #02 pc 0x00000000003c41fc /apex/com.android.art/lib64/libart.so (art::JNI<false>::CallStaticObjectMethodV(_JNIEnv*, _jclass*, _jmethodID*, std::__va_list)+500) #03 pc 0x000000000219ff24 /data/app/~~BtiFwaCXMUSD2cXzfFEkmw==/com.google.android.webview-cyICJsIiz-9U2t_ukf7ISw==/base.apk!libmonochrome.so at J.N.MAqmDh4t (Native method) at org.chromium.content.browser.framehost.NavigationControllerImpl.h (chromium-TrichromeWebViewGoogle.aab-stable-<US_SOCIAL_SECURITY_NUMBER>:2960) at org.chromium.android_webview.AwContents.q (chromium-TrichromeWebViewGoogle.aab-stable-<US_SOCIAL_SECURITY_NUMBER>:2252) at org.chromium.android_webview.AwContents.r (chromium-TrichromeWebViewGoogle.aab-stable-<US_SOCIAL_SECURITY_NUMBER>:2014) at com.android.webview.chromium.WebViewChromium.loadUrl (chromium-TrichromeWebViewGoogle.aab-stable-<US_SOCIAL_SECURITY_NUMBER>:2027) at android.webkit.WebView.loadUrl (WebView.java:733) at com.google.android.gms.ads.internal.webview.ac.loadUrl (:com.google.android.gms.policy_ads_fdr_dynamite@223104600@223104600057.463978484.463978484:1)

Questions

1. Whats the reference to the US Social Security Number here?
2. The policy_ads_fdr_dynamite error is occurring often. Is there a fix for this?

Thanks,
Mohan

Mobile Ads SDK Forum Advisor

unread,
Oct 28, 2022, 2:40:21 PM10/28/22
to manoramao...@gmail.com, google-adm...@googlegroups.com
Hi Mohan,

Thank you for reporting this to us.

Could you please provide the following (via reply privately to author option) for us to investigate this further?
  • App ID
  • Ad Unit ID
  • Affected devices
  • percentage occurrence of the crash
  • a text copy - Full stack trace of the crash log
In addition, could you kindly confirm if you were able to reproduce the crash locally? If so, please provide us a sample project where the issue is reproducible. You may provide it using the steps below:
 

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=5004Q00002fpAdMQAU&entry.80707362=00155407

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
Teejay Wennie
Mobile Ads SDK Team
 


ref:_00D1U1174p._5004Q2fpAdM:ref

MM-KTM

unread,
Oct 28, 2022, 10:01:19 PM10/28/22
to Google Mobile Ads SDK Developers
I have uploaded the required files. Hope it helps.

Mobile Ads SDK Forum Advisor

unread,
Oct 31, 2022, 5:16:58 AM10/31/22
to manoramao...@gmail.com, google-adm...@googlegroups.com

Hi,

Thank you for providing the requested information.

Before we share this to the rest of the team, can you confirm if you've try to Optimize initialization and ad loading? If not yet, I would recommend to try it as It mentioned that, starting from Google Mobile Ads (GMA) SDK version 21.0.0, you can enable optimized SDK initialization and ad loading to improve the overall responsiveness of ads and help prevent "Application Not Responding" (ANR) errors on your app. If upon using this still returns ANR, kindly let us know.

Regards,

Google Logo
Princess Pamela
Mobile Ads SDK Team
 


ref:_00D1U1174p._5004Q2fpAdM:ref

MM-KTM

unread,
Oct 31, 2022, 11:29:08 AM10/31/22
to Google Mobile Ads SDK Developers
Hello,

Nope, we are not using this setting. This is in beta, is it safe for us to use in production?

Thanks,

Mobile Ads SDK Forum Advisor

unread,
Nov 2, 2022, 2:59:45 AM11/2/22
to manoramao...@gmail.com, google-adm...@googlegroups.com

Hi Mohan,

I would recommend to try to use it as some of the ANR issues are fixed on Optimize initialization and ad loading in the (GMA) SDK version 21.0.0. If you still encounter any issues regarding ANR upon using this, kindly let us know. In addition to that, can you confirm if your concern is related to a thread with the subject "FW: AdMob ANR [6-5486000032160]"? If yes, kindly continue the conversation on that thread for better tracking.

MM-KTM

unread,
Nov 5, 2022, 1:39:29 PM11/5/22
to Google Mobile Ads SDK Developers
Thank you. This seems to have fixed the ANR's. Thanks a ton!
Reply all
Reply to author
Forward
0 new messages