Fresh Crash in Latest Sdk Version - 24.5.0

77 views
Skip to first unread message

Arpit Choudhary

unread,
Aug 10, 2025, 10:54:15 PM8/10/25
to Google Mobile Ads SDK Developers
 Crash Version - implementation("com.google.android.gms:play-services-ads:24.5.0")     

Below are the crash logs.
   
 Fatal Exception: java.lang.RuntimeException: Unable to pause activity {com.toi.reader.activities/com.google.android.gms.ads.AdActivity}: java.lang.IllegalStateException: The specified child already has a parent. You must call removeView() on the child's parent first.
       at android.app.ActivityThread.performPauseActivityIfNeeded(ActivityThread.java:5589)
       at android.app.ActivityThread.performPauseActivity(ActivityThread.java:5537)
       at android.app.ActivityThread.handlePauseActivity(ActivityThread.java:5489)
       at android.app.servertransaction.PauseActivityItem.execute(PauseActivityItem.java:48)
       at android.app.servertransaction.ActivityTransactionItem.execute(ActivityTransactionItem.java:45)
       at android.app.servertransaction.TransactionExecutor.executeLifecycleState(TransactionExecutor.java:190)
       at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:101)
       at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2630)
       at android.os.Handler.dispatchMessage(Handler.java:106)
       at android.os.Looper.loopOnce(Looper.java:222)
       at android.os.Looper.loop(Looper.java:314)
       at android.app.ActivityThread.main(ActivityThread.java:8788)
       at java.lang.reflect.Method.invoke(Method.java)
       at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:569)
       at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1090)


          Caused by java.lang.IllegalStateException: The specified child already has a parent. You must call removeView() on the child's parent first.
       at android.view.ViewGroup.addViewInner(ViewGroup.java:5409)
       at android.view.ViewGroup.addView(ViewGroup.java:5232)
       at com.google.android.gms.ads.internal.overlay.zzm.zzc(com.google.android.gms:play-services-ads@@24.5.0:8)
       at com.google.android.gms.ads.internal.overlay.zzm.zzF(com.google.android.gms:play-services-ads@@24.5.0:6)
       at com.google.android.gms.ads.internal.overlay.zzm.zzo(com.google.android.gms:play-services-ads@@24.5.0:7)
       at com.google.android.gms.ads.AdActivity.onPause(com.google.android.gms:play-services-ads-api@@24.5.0:2)
       at android.app.Activity.performPause(Activity.java:9107)
       at android.app.Instrumentation.callActivityOnPause(Instrumentation.java:1671)
       at android.app.ActivityThread.performPauseActivityIfNeeded(ActivityThread.java:5576)
       at android.app.ActivityThread.performPauseActivity(ActivityThread.java:5537)
       at android.app.ActivityThread.handlePauseActivity(ActivityThread.java:5489)
       at android.app.servertransaction.PauseActivityItem.execute(PauseActivityItem.java:48)
       at android.app.servertransaction.ActivityTransactionItem.execute(ActivityTransactionItem.java:45)
       at android.app.servertransaction.TransactionExecutor.executeLifecycleState(TransactionExecutor.java:190)
       at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:101)
       at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2630)
       at android.os.Handler.dispatchMessage(Handler.java:106)
       at android.os.Looper.loopOnce(Looper.java:222)
       at android.os.Looper.loop(Looper.java:314)
       at android.app.ActivityThread.main(ActivityThread.java:8788)
       at java.lang.reflect.Method.invoke(Method.java)
       at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:569)
       at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1090)
        

“Great men are not born great, they grow great.” – Mario Puzo
________________________________________________________________________________

VCO Inspiration

Mobile Ads SDK Forum Advisor

unread,
Aug 11, 2025, 2:44:59 AM8/11/25
to google-adm...@googlegroups.com

Hi,

Thank you for contacting the Mobile Ads SDK Support team.

To help us investigate the issue further, could you please share a sample app along with the steps to reproduce the crash.

Kindly provide the requested details via Reply privately to author option 

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 with me 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=500Ht00001syfN9IAI&entry.80707362=00329453

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.

 

Thanks,
 
Google Logo Mobile Ads SDK Team

Feedback
How was our support today?

rating1    rating2    rating3    rating4    rating5
[2025-08-11 06:44:08Z GMT] This message is in relation to case "ref:!00D1U01174p.!500Ht01syfN9:ref" (ADR-00329453)



Reply all
Reply to author
Forward
0 new messages