i am getting all these ANRs and crashes on my app tell me how i can fix it when i remove this library (google_mobile_ads) then it remove all ANRs and crashes why i am getting these all ANRs and crashes due to this library so please tell me how i can fix all these issues
Thank you
i created it issue log in google mobile ads library but they respond me back
Hi @MoeezChohan1089, because these are all Android stack traces this is not something the flutter plugin can control. To have your issue triaged please create a new thread in the AdMob Developers forum. From there our support team can start the troubleshooting process.
Closing this out - thanks!
please how i can solve it.
Hi Moeez,
Thank you for contacting the Mobile Ads SDK support team.
Can you confirm if you are making use of initialization optimization flag? 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. The best way to optimize initialization is to call MobileAds.initialize() on a background thread, as described in the Get Started guide. If you are already doing so, you don't need to enable the optimization flag. After enabling the above mentioned flags also if the ANR issue still persists then kindly provide the below information as requested earlier.
You can provide the following details via reply privately to the author option or directly provide it to this link.
![]() |
Mobile Ads SDK Team |