After adding new Google Ads SDK with adaptive banner crash rate of app is high.

79 views
Skip to first unread message

The Dude Abides

unread,
Apr 29, 2020, 7:09:15 PM4/29/20
to Google Mobile Ads SDK Developers
As title says I've had a mass spike in crashes adding the new Google Ads SDK with using the adaptive banner ads. Listed below are the 3 main crash reports I'm getting. The OutOfMemoryError I found a very similar post made here https://groups.google.com/forum/#!searchin/google-admob-ads-sdk/java.lang.OutOfMemoryError%7Csort:date/google-admob-ads-sdk/2n4OJB2afp4/g0kOH12RBAAJ but don't see a solution.  Any help greatly appreciated.

Google Play services SDK version: 19 (for all stack traces)


java.lang.OutOfMemoryError:
at java.lang.Thread.nativeCreate (Native Method)
at java.lang.Thread.start (Thread.java:733)
at java.util.concurrent.ThreadPoolExecutor.addWorker (ThreadPoolExecutor.java:975)
at java.util.concurrent.ThreadPoolExecutor.execute (ThreadPoolExecutor.java:1393)
at com.google.android.gms.ads.internal.util.future.c.execute (com.google.android.gms.policy_ads_fdr_dynamite@21460000@21460000.297791526.297791526)
at com.google.android.gms.ads.nonagon.ad.event.bz.a (com.google.android.gms.policy_ads_fdr_dynamite@21460000@21460000.297791526.297791526:7)
at com.google.android.gms.ads.nonagon.ad.event.dh.a (com.google.android.gms.policy_ads_fdr_dynamite@21460000@21460000.297791526.297791526:6)
at com.google.android.gms.ads.internal.activeview.ac.a (com.google.android.gms.policy_ads_fdr_dynamite@21460000@21460000.297791526.297791526:41)
at com.google.android.gms.ads.internal.activeview.y.run (com.google.android.gms.policy_ads_fdr_dynamite@21460000@21460000.297791526.297791526)
at android.os.Handler.handleCallback (Handler.java:873)
at android.os.Handler.dispatchMessage (Handler.java:99)
at pg.a (com.google.android.gms.policy_ads_fdr_dynamite@21460000@21460000.297791526.297791526)
at com.google.android.gms.ads.internal.util.f.a (com.google.android.gms.policy_ads_fdr_dynamite@21460000@21460000.297791526.297791526:1)
at pg.dispatchMessage (com.google.android.gms.policy_ads_fdr_dynamite@21460000@21460000.297791526.297791526)
at android.os.Looper.loop (Looper.java:214)
at android.app.ActivityThread.main (ActivityThread.java:7094)
at java.lang.reflect.Method.invoke (Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:494)
at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:975)

Android Version - Count - Percent (past 30 days):
Android 9 - 503 - 49.6%
Android 8.1 - 486 - 47.9%
Android 7.1 - 17 - 1.7%
Android 8.0 -
 7- 
0.7%
Others - 1 - 0.1%

Devices - Count - Percent (past 30 days):
Redmi S2 (ysl) - 153 - 15.1%
Redmi 6A (cactus) - 116 - 11.4%
Z717VL (lavender) - 99 - 9.8%
Redmi 7A (pine) - 70 - 6.9%
Others - 576 - 56.8%


java.lang.RuntimeException:
at android.hardware.display.DisplayManagerGlobal.getDisplayInfo (DisplayManagerGlobal.java:140)
at android.hardware.display.DisplayManagerGlobal.getCompatibleDisplay (DisplayManagerGlobal.java:199)
at android.app.ResourcesManager.getAdjustedDisplay (ResourcesManager.java:293)
at android.app.ContextImpl.getDisplay (ContextImpl.java:2235)
at android.view.WindowManagerImpl.getDefaultDisplay (WindowManagerImpl.java:149)
at com.google.android.gms.ads.omid.library.utils.b.a (com.google.android.gms.policy_ads_fdr_dynamite@21460003@21460003.297791526.297791526:12)
at com.google.android.gms.ads.omid.library.walking.e.run (com.google.android.gms.policy_ads_fdr_dynamite@21460003@21460003.297791526.297791526:26)
at android.os.Handler.handleCallback (Handler.java:873)
at android.os.Handler.dispatchMessage (Handler.java:99)
at android.os.Looper.loop (Looper.java:201)
at android.app.ActivityThread.main (ActivityThread.java:6810)
at java.lang.reflect.Method.invoke (Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:547)
at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:873)

Android Version - Count - Percent (past 30 days):
Android 9 - 211 - 89%
Android 8.1 - 24 - 10.1%
Android 8.0 - 2 - 0.8%

Devices - Count - Percent (past 30 days):
Z717VL (lavender) - 96 - 40.5%
Redmi Note 5 Pro (whyred) - 29 - 12.2%
Slate 7 Extreme (olive) - 24 - 10.1%
Redmi 5 (rosy) - 16 - 6.8%
Others - 72 - 30.4%


java.lang.RuntimeException:
at android.hardware.display.DisplayManagerGlobal.getDisplayInfo (DisplayManagerGlobal.java:214)
at android.hardware.display.DisplayManagerGlobal.getDisplayInfo (DisplayManagerGlobal.java:149)
at android.hardware.display.DisplayManagerGlobal.getCompatibleDisplay (DisplayManagerGlobal.java:273)
at android.app.ResourcesManager.getAdjustedDisplay (ResourcesManager.java:328)
at android.app.ContextImpl.getDisplay (ContextImpl.java:2441)
at android.content.ContextWrapper.getDisplay (ContextWrapper.java:922)
at android.os.PowerManager.isInteractive (PowerManager.java:1384)
at android.os.PowerManager.isScreenOn (PowerManager.java:1343)
at com.google.android.gms.ads.internal.util.s.a (com.google.android.gms.policy_ads_fdr_dynamite@21460004@21460004.297791526.297791526:112)
at com.google.android.gms.ads.internal.activeview.ac.a (com.google.android.gms.policy_ads_fdr_dynamite@21460004@21460004.297791526.297791526:33)
at com.google.android.gms.ads.internal.activeview.ac.onGlobalLayout (com.google.android.gms.policy_ads_fdr_dynamite@21460004@21460004.297791526.297791526)
at android.view.ViewTreeObserver.dispatchOnGlobalLayout (ViewTreeObserver.java:959)
at android.view.ViewRootImpl.performTraversals (ViewRootImpl.java:2909)
at android.view.ViewRootImpl.doTraversal (ViewRootImpl.java:1911)
at android.view.ViewRootImpl$TraversalRunnable.run (ViewRootImpl.java:8526)
at android.view.Choreographer$CallbackRecord.run (Choreographer.java:949)
at android.view.Choreographer.doCallbacks (Choreographer.java:761)
at android.view.Choreographer.doFrame (Choreographer.java:696)
at android.view.Choreographer$FrameDisplayEventReceiver.run (Choreographer.java:935)
at android.os.Handler.handleCallback (Handler.java:873)
at android.os.Handler.dispatchMessage (Handler.java:99)
at android.os.Looper.loop (Looper.java:214)
at android.app.ActivityThread.main (ActivityThread.java:7078)
at java.lang.reflect.Method.invoke (Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:494)
at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:964)

Android Version - Count - Percent (past 30 days):
Android 9 - 50- 94.3%
Android 10 - 3 - 5.7%

Devices - Count - Percent (past 30 days):
Galaxy A50 (a50) - 31 - 58.5%
Galaxy S8 (dreamite) - 8 - 15.1%
Galaxy A7 (2018) (a7y18lte) - 3- 5.7%
Galaxy A30 (a30) - 2 - 3.8%
Others - 9 - 17%

Mobile Ads SDK Forum Advisor Prod

unread,
Apr 29, 2020, 10:39:31 PM4/29/20
to avry...@gmail.com, google-adm...@googlegroups.com

Hi there,

 

Thank you for reaching out to us, and for providing extensive details on your concern.

 

The latest post we made in the thread that you referenced was sent privately (hence the lack of visibility in the forum thread); in there, we suggested updating the publisher's AdMob SDK to at least v19.0.0 in order to deal with the crashes.

 

With that in mind, could you clarify if you were referring to the same version (v19.0.0) when you mentioned "Google Play services SDK version: 19"? If so, and if at all possible, could you kindly provide any of the details below (via Reply privately to author) so that we can further investigate the issue?

  • Video recording of the crash
  • Copy of a project, replicating the issue
  • Steps to replicate the issue

 

You may acquire any of the above from your users as well if the issue is not locally reproducible.

 

Regards,

Ziv Yves Sanchez

Mobile Ads SDK Team



ref:_00D1U1174p._5001UaSw50:ref

The Dude Abides

unread,
Apr 30, 2020, 1:46:46 PM4/30/20
to Google Mobile Ads SDK Developers
Thank you for the reply.

Yes I can confirm that the crashes listed above are with the current v19.0.0 (I had tried v18 as well but same issue). I don't believe I can reproduce the issue as I don't own any of the phones in the crash report. One is an LG G6 which I see firebase has to test with, but I'd worry about misclicks with the robo test as I'm not familiar how to simulate the crash.

Mobile Ads SDK Forum Advisor Prod

unread,
Apr 30, 2020, 3:34:13 PM4/30/20
to avry...@gmail.com, google-adm...@googlegroups.com
Hi there,

Thank you for confirming you're using version 19.0.0 of the SDK and that it's hard to find out how to reproduce. What was the latest SDK version that didn't have these crashes and how prevalent are the crashes? Have any users contacted you to tell you about the crashes?Also, can you send via "Reply privately to author" the app Id and if you published the app on a playstore, the URL to it? 

Regards,
Aryeh Baker

The Dude Abides

unread,
May 1, 2020, 2:02:30 PM5/1/20
to Google Mobile Ads SDK Developers

Report.png

Hey again,

The prior SDK I had was rather old (Version 9.6.1) and used it for years. Attached is an example image of error reports I'm getting from users. Haven't personally been notified of negative written feedback, but seeing some review scores that are low which could be the reason. Will privately message app ID and URL.

Mobile Ads SDK Forum Advisor Prod

unread,
May 1, 2020, 4:01:02 PM5/1/20
to avry...@gmail.com, google-adm...@googlegroups.com
Hi there,

Thank you for that crash record and the version you were using until now. It looks like in April there was a surge. Via "Reply privately to author", can you forward to me the app Id and the link to the playstore?

Mobile Ads SDK Forum Advisor Prod

unread,
May 4, 2020, 12:27:33 AM5/4/20
to avry...@gmail.com, google-adm...@googlegroups.com
Hi there,

Thank you for providing your App ID and Ad Unit ID privately. Would it be possible for you to update to the latest version 19.1.0 and monitor if the crash subsides?

Regards,
Teejay Pimentel
Reply all
Reply to author
Forward
0 new messages