Groups keyboard shortcuts have been updated
Dismiss
See shortcuts

Problem SafeAtomicHelper is broken

263 views
Skip to first unread message

publio antonio

unread,
Apr 21, 2025, 4:01:37 AMApr 21
to Google Mobile Ads SDK Developers
Hi. I have this problem (only with Debug version, both with emulator and phisical device) with com.google.android.gms:play-services-ads, with versions 24.1.0 e 24.2.0. In Logcat i see this Exception (but the app doesn't crash):

SafeAtomicHelper is broken! (Ask Gemini)
                                         java.lang.ExceptionInInitializerError
                                          at com.google.android.gms.internal.ads.zzgax.<clinit>(com.google.android.gms:play-services-ads@@24.2.0:2)
                                          at com.google.android.gms.internal.ads.zzgbq.zza(com.google.android.gms:play-services-ads@@24.2.0:1)
                                          at com.google.android.gms.internal.ads.zzdti.zzo(com.google.android.gms:play-services-ads@@24.2.0:48)
                                          at com.google.android.gms.internal.ads.zzdtf.run(com.google.android.gms:play-services-ads@@24.2.0:1)
                                          at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
                                          at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:644)
                                          at java.lang.Thread.run(Thread.java:1012)
                                         Caused by: java.lang.RuntimeException: java.lang.IllegalAccessException: Class com.google.android.gms.internal.ads.zzgau can not access a member of class com.google.android.gms.internal.ads.zzgax with modifiers "private volatile"
                                          at java.util.concurrent.atomic.AtomicReferenceFieldUpdater$AtomicReferenceFieldUpdaterImpl.<init>(AtomicReferenceFieldUpdater.java:361)
                                          at java.util.concurrent.atomic.AtomicReferenceFieldUpdater.newUpdater(AtomicReferenceFieldUpdater.java:115)
                                          at com.google.android.gms.internal.ads.zzgau.<clinit>(com.google.android.gms:play-services-ads@@24.2.0:2)
                                          at com.google.android.gms.internal.ads.zzgax.<clinit>(com.google.android.gms:play-services-ads@@24.2.0:2) 
                                          at com.google.android.gms.internal.ads.zzgbq.zza(com.google.android.gms:play-services-ads@@24.2.0:1) 
                                          at com.google.android.gms.internal.ads.zzdti.zzo(com.google.android.gms:play-services-ads@@24.2.0:48) 
                                          at com.google.android.gms.internal.ads.zzdtf.run(com.google.android.gms:play-services-ads@@24.2.0:1) 
                                          at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) 
                                          at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:644) 
                                          at java.lang.Thread.run(Thread.java:1012) 
                                         Caused by: java.lang.IllegalAccessException: Class com.google.android.gms.internal.ads.zzgau can not access a member of class com.google.android.gms.internal.ads.zzgax with modifiers "private volatile"
                                          at sun.reflect.Reflection.ensureMemberAccess(Reflection.java:125)
                                          at sun.reflect.misc.ReflectUtil.ensureMemberAccess(ReflectUtil.java:100)
                                          at java.util.concurrent.atomic.AtomicReferenceFieldUpdater$AtomicReferenceFieldUpdaterImpl.<init>(AtomicReferenceFieldUpdater.java:343)
                                          at java.util.concurrent.atomic.AtomicReferenceFieldUpdater.newUpdater(AtomicReferenceFieldUpdater.java:115) 
                                          at com.google.android.gms.internal.ads.zzgau.<clinit>(com.google.android.gms:play-services-ads@@24.2.0:2) 
                                          at com.google.android.gms.internal.ads.zzgax.<clinit>(com.google.android.gms:play-services-ads@@24.2.0:2) 
                                          at com.google.android.gms.internal.ads.zzgbq.zza(com.google.android.gms:play-services-ads@@24.2.0:1) 
                                          at com.google.android.gms.internal.ads.zzdti.zzo(com.google.android.gms:play-services-ads@@24.2.0:48) 
                                          at com.google.android.gms.internal.ads.zzdtf.run(com.google.android.gms:play-services-ads@@24.2.0:1) 
                                          at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) 
                                          at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:644) 
                                          at java.lang.Thread.run(Thread.java:1012) 

I really tried to understand the problem looking for a solution online and also asking Gemini, but couldn't resolve the problem.

Mobile Ads SDK Forum Advisor

unread,
Apr 21, 2025, 5:25:15 AMApr 21
to publioan...@gmail.com, google-adm...@googlegroups.com

Hi,

Thank you for contacting the Mobile Ads SDK support team.

The error should mostly only have a small performance impact but shouldn't really affect ads functionality. And I can confirm that when the error is reproduced, adapter initialization and load/show ads would work as intended.

Timeline wise, GMA SDK 24.3.0 will have the fix for the logs and ETA for this release to be publicly available in early May.

Thanks,
 
Google Logo Mobile Ads SDK Team

Feedback
How was our support today?

rating1    rating2    rating3    rating4    rating5
[2025-04-21 09:24:35Z GMT] This message is in relation to case "ref:!00D1U01174p.!500Ht01qUPIs:ref" (ADR-00300520)



Mobile Ads SDK Forum Advisor

unread,
Apr 21, 2025, 10:26:55 AMApr 21
to publioan...@gmail.com, google-adm...@googlegroups.com

Hi

ETA stands for Estimated Time of Arrival. It refers to the expected time or date when the task will be completed or arrive. 


Thanks,
 
Google Logo Mobile Ads SDK Team

Feedback
How was our support today?

rating1    rating2    rating3    rating4    rating5

[2025-04-21 14:25:45Z GMT] This message is in relation to case "ref:!00D1U01174p.!500Ht01qUPIs:ref" (ADR-00300520)



Youssef Bouzaidi chékhi

unread,
Apr 22, 2025, 4:52:45 AMApr 22
to publio antonio, Google Mobile Ads SDK Developers

Peace be upon you. I am new. Can I have some help? I want to know how to work and make money.


--

---
You received this message because you are subscribed to the Google Groups "Google Mobile Ads SDK Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-admob-ads...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/google-admob-ads-sdk/f452a23a-6fff-4480-b8e4-ecd2521c681fn%40googlegroups.com.

Muhammed

unread,
May 10, 2025, 5:30:58 AM (4 days ago) May 10
to Google Mobile Ads SDK Developers
Hello Same Issue!!


SafeAtomicHelper is broken!
22 Nisan 2025 Salı tarihinde saat 11:52:45 UTC+3 itibarıyla Youssef Bouzaidi chékhi şunları yazdı:

Mobile Ads SDK Forum Advisor

unread,
May 12, 2025, 12:57:03 AM (yesterday) May 12
to 4d756861...@gmail.com, google-adm...@googlegroups.com

Hi,

Thank you for contacting the Mobile Ads SDK support team.

This issue will be resolved and changes are planned for the next release. Please keep an eye on Android release notes

Thanks,
 
Google Logo Mobile Ads SDK Team

Feedback
How was our support today?

rating1    rating2    rating3    rating4    rating5

[2025-05-12 04:56:11Z GMT] This message is in relation to case "ref:!00D1U01174p.!500Ht01qWaWk:ref" (ADR-00304931)



Reply all
Reply to author
Forward
0 new messages