Significant Increase in ANRs After Updating to SDK 34 - Google Ads Libraries

101 views
Skip to first unread message

Axita Savani

unread,
Sep 9, 2024, 4:22:04 AM9/9/24
to Google Mobile Ads SDK Developers
Hi, Team!

Platform: Android 

We have observed a substantial rise in ANRs (Application Not Responding) incidents after updating our Android SDK to version 34. The issue appears to be linked to Google Ads libraries, as the ANRs are predominantly coming from them. We are using the following versions of Firebase libraries in our project:

  • Android device: Samsung, Oppo, Vivo, Techno, Google, Motorola
  • Android OS version: 11,12,13,14
  • Google Play Services version: 'com.google.gms:google-services:4.4.2'
  • Firebase/Play Services SDK version:
  • firebase-crashlytics:18.6.3'
  • firebase-analytics:21.6.2'
  • firebase-ads:23.0.0'
  • firebase-messaging:23.4.1'
  • firebase-config:21.6.3'
Our project is configured with the following settings:
Here, I have share some ANR photos below: 

SS_1.png

SS_2.png

SS_3.png

ss_4_obadmob.png

This issue is critical and has negatively impacted the user experience. We'd like urgent assistance in identifying and resolving the root cause of these ANRs.

For Reference Only: 

GitHub Issue Link: https://github.com/firebase/firebase-android-sdk/issues/6223


Thank you

Axita Savani

Mobile Ads SDK Forum Advisor

unread,
Sep 9, 2024, 10:39:33 AM9/9/24
to axita.op...@gmail.com, google-adm...@googlegroups.com

Hi Axita Savani,

Thank you for contacting the Mobile Ads SDK Support team

Could you confirm if these ANRs are happening on app launch? If so, I would suggest calling the MobileAds.initialize() method on a background thread within an activity. For more information, kindly refer to Initialize the Google Mobile Ads SDK .

Could you kindly provide the below information privately so that we can gain full visibility of your implementation:

  • ad unit ID
  • Steps to replicate the issue
  • The full stack trace 

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 via reply to author option or 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=5004Q00002vFwdbQAC&entry.80707362=00267250

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

This message is in relation to case "ref:!00D1U01174p.!5004Q02vFwdb:ref" (ADR-00267250)

Thanks,
 
Google Logo Mobile Ads SDK Team


Axita Savani

unread,
Dec 19, 2024, 12:15:01 AM12/19/24
to Google Mobile Ads SDK Developers
Hi, Upload all your needed documents 
Please rechecked.

Mobile Ads SDK Forum Advisor

unread,
Dec 19, 2024, 6:49:18 AM12/19/24
to axita.op...@gmail.com, google-adm...@googlegroups.com

Hi,

As requested, please provide the sample project where the issue can be reproduced so that we can investigate further.

Please note that we only received a stack trace in the shared files.

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. Kindly follow 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=5004Q00002vFwdbQAC&entry.80707362=00267250

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.
 
This message is in relation to case "ref:!00D1U01174p.!5004Q02vFwdb:ref" (ADR-00267250)

Thanks,
 
Google Logo Mobile Ads SDK Team

Feedback
How was our support today?

rating1    rating2    rating3    rating4    rating5


 

 

Reply all
Reply to author
Forward
0 new messages