sdk 24.1.0 init error

1,361 views
Skip to first unread message

chancey

unread,
Mar 27, 2025, 3:30:38 AM3/27/25
to Google Mobile Ads SDK Developers
SafeAtomicHelper is broken! (Ask Gemini)
java.lang.ExceptionInInitializerError
at com.google.android.gms.internal.ads.zzgah.<clinit>(com.google.android.gms:play-services-ads@@24.1.0:2)
at com.google.android.gms.internal.ads.zzgba.zza(com.google.android.gms:play-services-ads@@24.1.0:1)
at com.google.android.gms.internal.ads.zzdsu.zzo(com.google.android.gms:play-services-ads@@24.1.0:48)
at com.google.android.gms.internal.ads.zzdsr.run(com.google.android.gms:play-services-ads@@24.1.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.zzgae can not access a member of class com.google.android.gms.internal.ads.zzgah 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.zzgae.<clinit>(com.google.android.gms:play-services-ads@@24.1.0:2)
at com.google.android.gms.internal.ads.zzgah.<clinit>(com.google.android.gms:play-services-ads@@24.1.0:2) 
at com.google.android.gms.internal.ads.zzgba.zza(com.google.android.gms:play-services-ads@@24.1.0:1) 
at com.google.android.gms.internal.ads.zzdsu.zzo(com.google.android.gms:play-services-ads@@24.1.0:48) 
at com.google.android.gms.internal.ads.zzdsr.run(com.google.android.gms:play-services-ads@@24.1.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.zzgae can not access a member of class com.google.android.gms.internal.ads.zzgah 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.zzgae.<clinit>(com.google.android.gms:play-services-ads@@24.1.0:2) 
at com.google.android.gms.internal.ads.zzgah.<clinit>(com.google.android.gms:play-services-ads@@24.1.0:2) 
at com.google.android.gms.internal.ads.zzgba.zza(com.google.android.gms:play-services-ads@@24.1.0:1) 
at com.google.android.gms.internal.ads.zzdsu.zzo(com.google.android.gms:play-services-ads@@24.1.0:48) 
at com.google.android.gms.internal.ads.zzdsr.run(com.google.android.gms:play-services-ads@@24.1.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) 

Mobile Ads SDK Forum Advisor

unread,
Mar 27, 2025, 3:43:42 AM3/27/25
to wcxp...@gmail.com, google-adm...@googlegroups.com

Hi,

Thank you for contacting the Mobile Ads SDK Support team.

This is a known issue and currently under investigation. Once we receive any updates, we will intimate you. Meanwhile, your patience is important.


Thanks,
 
Google Logo Mobile Ads SDK Team

Feedback
How was our support today?

rating1    rating2    rating3    rating4    rating5
[2025-03-27 07:42:38Z GMT] This message is in relation to case "ref:!00D1U01174p.!5004Q02vHD5w:ref" (ADR-00296911)



Fredrik

unread,
Apr 9, 2025, 2:36:54 PM4/9/25
to Google Mobile Ads SDK Developers
I still get this error. Also with the newest 24.2.0.

Is there any ETA for this? What is the "side effects" of getting this error..? Can I release a game with this issue?

Please advice

Fredrik

unread,
Apr 9, 2025, 2:36:54 PM4/9/25
to Google Mobile Ads SDK Developers
What is the ETA? This still happens, also in 24.2

Fredrik

unread,
Apr 9, 2025, 3:40:02 PM4/9/25
to Google Mobile Ads SDK Developers
ETA?

Mobile Ads SDK Forum Advisor

unread,
Apr 9, 2025, 7:22:58 PM4/9/25
to fska...@gmail.com, google-adm...@googlegroups.com

Hi,

This is just a warning from the SDK side for which investigation is still going on, I would suggest if you are not facing any ads serving issue you can go ahead towards live and please inform us if you encounter ads serving issues.

Thanks,
 
Google Logo Mobile Ads SDK Team

Feedback
How was our support today?

rating1    rating2    rating3    rating4    rating5

[2025-04-09 23:22:02Z GMT] This message is in relation to case "ref:!00D1U01174p.!5004Q02vHD5w:ref" (ADR-00296911)



Fredrik

unread,
Apr 10, 2025, 5:46:14 AM4/10/25
to Google Mobile Ads SDK Developers
How can  java.lang.RuntimeException: java.lang.IllegalAccessException be a "warning from the SDK side"??
Message has been deleted

Youssef Bouzaidi chékhi

unread,
Apr 22, 2025, 4:51:07 AM4/22/25
to darklord, Google Mobile Ads SDK Developers

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


في الاثنين، 21 أبريل 2025 09:43 darklord <muhammad.must...@gmail.com> كتب:
Hello there,

I’m currently encountering a similar issue. I’m currently experiencing an issue where rewarded ads are not working in my Unity Android build, even though test interstitial ads are functioning properly. I’ve verified that the implementation is correct and the appropriate Ad Unit IDs are assigned for both ad types.

At this point, I’m only using Google’s test Ad Unit IDs to ensure everything is working as intended before switching to live ads, as I want to take all necessary precautions.  

Here are the test Ad Unit IDs I’m using:

  • Rewarded Ad: ca-app-pub-3940256099942544/5224354917

  • Interstitial Ad: ca-app-pub-3940256099942544/1033173712

I have also tried using the add test device programmatically method but still test rewarded ads are not working.

RequestConfiguration requestConfiguration = new RequestConfiguration();
requestConfiguration.TestDeviceIds.Add("My Device Id");
MobileAds.SetRequestConfiguration(requestConfiguration);


These are the errors that I am facing in build through logcat:

SafeAtomicHelper is broken!
The second error is: 

Rewarded ad failed to load an ad with error : {
  "Code": 3,
  "Message": "No fill.",
  "Domain": "com.google.android.gms.ads",
  "Cause": "null",
  "Response Info": {
    "Response ID": "null",
    "Mediation Adapter Class Name": "",
    "Adapter Responses": [],
    "Response Extras": {
      "mediation_group_name": "Campaign"
    }
  }
}
UnityEngine.DebugLogHandler:Internal_Log(LogType, LogOption, String, Object)
UnityEngine.WorkRequest:Invoke()
UnityEngine.UnitySynchronizationContext:Exec()

And lastly, you can see in the logcat that my test interstitial ads are working perfectly without any issue.

Interstitial ad loaded with response : {
  "Response ID": "lPYFaOnoCKrKmLAP2JjswAg",
  "Mediation Adapter Class Name": "com.google.ads.mediation.admob.AdMobAdapter",
  "Adapter Responses": [
    {
      "Adapter": "com.google.ads.mediation.admob.AdMobAdapter",
      "Latency": 680,
      "Ad Source Name": "Reservation campaign",
      "Ad Source ID": "7068401028668408324",
      "Ad Source Instance Name": "[DO NOT EDIT] Publisher Test Interstitial",
      "Ad Source Instance ID": "4665218928925097",
      "Credentials": {
        "pubid": "ca-app-pub-3940256099942544\/1033173712\/cak=no_cache&cadc=d8&caqid=lPYFaM7pB--NmLAP6uOJ8A4",
        "campaign_type": "1",
        "campaign_id": "1565349800"
      },
      "Ad Error": "null"
    }
  ],
  "Loaded Adapter Response": {
    "Adapter": "com.google.ads.mediation.admob.AdMobAdapter",
    "Latency": 680,
    "Ad Source Name": "Reservation campaign",
    "Ad Source ID": "7068401028668408324",
    "Ad Source Instance Name": "[DO NOT EDIT] Publisher Test Interstit


Any guidance or suggestions on why the rewarded ad might not be working while the interstitial is would be greatly appreciated.

Thanks!

On Thursday, April 10, 2025 at 2:46:14 PM UTC+5 Fredrik wrote:
How can  java.lang.RuntimeException: java.lang.IllegalAccessException be a "warning from the SDK side"??

--

---
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/0f5228e4-2944-4598-9b19-c7ecc3895ca0n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages