WebView ANR

1,011 views
Skip to first unread message

itzno...@gmail.com

unread,
Jun 20, 2022, 11:32:54 AM6/20/22
to Google Mobile Ads SDK Developers
Report via Crashlytics.

ANR velocity: Low
AdMob SDK Version: 21.0.0
Reproducible: No (no sample)
Affected Android Version: Android 11 & 12.

Stacktrace:
main (native): tid=1 systid=25642
#00 pc 0x1c7c544 base.apk!libmonochrome.so
#01 pc 0x3fe5900 base.apk!libmonochrome.so
       at J.N.MAqmDh4t(N.java)
       at org.chromium.content.browser.framehost.NavigationControllerImpl.i(NavigationControllerImpl.java:3074)
       at org.chromium.android_webview.AwContents.p(AwContents.java:2230)
       at org.chromium.android_webview.AwContents.q(AwContents.java:1991)
       at com.android.webview.chromium.WebViewChromium.loadUrl(WebViewChromium.java:2004)
       at android.webkit.WebView.loadUrl(WebView.java:733)
       at com.google.android.gms.ads.internal.webview.ac.loadUrl(ac.java:1)
       at com.google.android.gms.ads.internal.webview.y.loadUrl(y.java)
       at com.google.android.gms.ads.internal.js.j.run(j.java)
       at com.google.android.gms.ads.internal.js.l.k(l.java:1)
       at com.google.android.gms.ads.internal.js.p.run(p.java:12)
       at android.os.Handler.handleCallback(Handler.java:938)
       at android.os.Handler.dispatchMessage(Handler.java:99)
       at arc.a(arc.java)
       at com.google.android.gms.ads.internal.util.f.a(f.java:1)
       at arc.dispatchMessage(arc.java)
       at android.os.Looper.loop(Looper.java:223)
       at android.app.ActivityThread.main(ActivityThread.java:7705)
       at java.lang.reflect.Method.invoke(Method.java)
       at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:592)
       at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:952)

itzno...@gmail.com

unread,
Jun 20, 2022, 11:36:00 AM6/20/22
to Google Mobile Ads SDK Developers
It's quite possible that this is caused due to the platform webview & not exactly Ads SDK.

Mobile Ads SDK Forum Advisor

unread,
Jun 21, 2022, 9:46:19 AM6/21/22
to itzno...@gmail.com, google-adm...@googlegroups.com

Hi Darshan,

Thank you for reaching out to us.

Let me share this to the rest of the team to further investigate this. We will update you once we have more information.

Regards,

Google Logo
Princess Pamela
Mobile Ads SDK Team
 


ref:_00D1U1174p._5004Q2byGhD:ref

itzno...@gmail.com

unread,
Jun 22, 2022, 5:29:06 AM6/22/22
to Google Mobile Ads SDK Developers
Another trace (trigerred probably on Ads Sdk init): 
main (runnable): tid=1 systid=23020
       at Gl.a(Gl.java:42)
       at com.android.webview.chromium.WebViewChromiumFactoryProvider.<init>(WebViewChromiumFactoryProvider.java:361)
       at com.android.webview.chromium.WebViewChromiumFactoryProviderForR.<init>(WebViewChromiumFactoryProviderForR.java:13)
       at com.android.webview.chromium.WebViewChromiumFactoryProviderForR.create(WebViewChromiumFactoryProviderForR.java:9)
       at java.lang.reflect.Method.invoke(Method.java)
       at android.webkit.WebViewFactory.getProvider(WebViewFactory.java:266)
       at android.webkit.WebView.getFactory(WebView.java:2582)
       at android.webkit.WebView.ensureProviderCreated(WebView.java:2576)
       at android.webkit.WebView.setOverScrollMode(WebView.java:2644)
       at android.view.View.<init>(View.java:5367)
       at android.view.View.<init>(View.java:5516)
       at android.view.ViewGroup.<init>(ViewGroup.java:706)
       at android.widget.AbsoluteLayout.<init>(AbsoluteLayout.java:56)
       at android.webkit.WebView.<init>(WebView.java:413)
       at android.webkit.WebView.<init>(WebView.java:355)
       at android.webkit.WebView.<init>(WebView.java:337)
       at android.webkit.WebView.<init>(WebView.java:324)
       at android.webkit.WebView.<init>(WebView.java:314)
       at com.google.android.gms.ads.internal.webview.ac.<init>(ac.java:1)
       at com.google.android.gms.ads.internal.webview.r.a(r.java:4)
       at com.google.android.gms.ads.internal.webview.v.a(v.java:4)
       at com.google.android.gms.ads.internal.js.l.<init>(l.java:3)
       at com.google.android.gms.ads.internal.js.p.run(p.java:2)

       at android.os.Handler.handleCallback(Handler.java:938)
       at android.os.Handler.dispatchMessage(Handler.java:99)
       at aqx.a(aqx.java)
       at com.google.android.gms.ads.internal.util.f.a(f.java:1)
       at aqx.dispatchMessage(aqx.java)
       at android.os.Looper.loop(Looper.java:236)
       at android.app.ActivityThread.main(ActivityThread.java:8061)
       at java.lang.reflect.Method.invoke(Method.java)
       at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:656)
       at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:967)
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

Upon checking the R8/Proguard mapping file,
I see that aqx.a is mapped to com.google.android.gms.internal.ads.zzaqx.

Thanks.

Mobile Ads SDK Forum Advisor

unread,
Jun 22, 2022, 10:38:30 AM6/22/22
to itzno...@gmail.com, google-adm...@googlegroups.com

Hi Darshan,

Thanks for providing another stack trace for our investigations. I’ve forwarded it to my team. We will reach out to you once we have any updates.

Regards,

Google Logo
Yasar
Mobile Ads SDK Team
 


ref:_00D1U1174p._5004Q2byGhD:ref

Mobile Ads SDK Forum Advisor

unread,
Mar 24, 2023, 7:01:07 AM3/24/23
to itzno...@gmail.com, google-adm...@googlegroups.com

Hello,
 

I hope you're safe and doing fine. 
 

I just want to circle back on this thread. Unfortunately, the error is outside of the scope of GMA SDK. However, we've had several updates as of opening this case. Kindly update to the most recent version of the SDK to see if this resolves the issue.
 

Regards,

Google Logo Mobile Ads SDK Team


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