AdMob 23.4.0 R8 issue

125 views
Skip to first unread message

Bitwise DEVS

unread,
Oct 4, 2024, 9:04:57 AMOct 4
to Google Mobile Ads SDK Developers

AdMob: 23.4.0

GMS: 4.4.2

Gradle: 8.8

AGP: 8.6.1


ERROR: Missing classes detected while running R8. Please add the missing classes or apply additional keep rules that are generated in /opt/atlassian/pipelines/agent/build/androidApp/build/outputs/mapping/release/missing_rules.txt. ERROR: R8: Missing class android.media.LoudnessCodecController$OnLoudnessCodecUpdateListener (referenced from: void com.google.android.gms.internal.ads.zzsp.zzd(int) and 1 other context) Missing class android.media.LoudnessCodecController (referenced from: android.media.LoudnessCodecController com.google.android.gms.internal.ads.zzsp.zzb and 4 other contexts)


Missing class android.media.LoudnessCodecController$OnLoudnessCodecUpdateListener (referenced from: void com.google.android.gms.internal.ads.zzsp.zzd(int) and 1 other context) Missing class android.media.LoudnessCodecController (referenced from: android.media.LoudnessCodecController com.google.android.gms.internal.ads.zzsp.zzb and 4 other contexts)


Caused by: [CIRCULAR REFERENCE: com.android.tools.r8.internal.g: Missing class android.media.LoudnessCodecController$OnLoudnessCodecUpdateListener (referenced from: void com.google.android.gms.internal.ads.zzsp.zzd(int) and 1 other context)

Mobile Ads SDK Forum Advisor

unread,
Oct 4, 2024, 1:19:23 PMOct 4
to devs.b...@gmail.com, google-adm...@googlegroups.com

Hi,

I have run our Google sample project with the specified version that you mentioned and I am able to load the ad successfully without any errors. Could you please share below details to do further investigation privately:

  • Steps to replicates the issue
  • Sample project which replicates the issue

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 provide requested information to us via reply to author option or 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=5004Q00002vGcIoQAK&entry.80707362=00270636

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.!5004Q02vGcIo:ref" (ADR-00270636)

Thanks,
 
Google Logo Mobile Ads SDK Team

 

Bitwise DEVS

unread,
Oct 7, 2024, 5:52:30 AMOct 7
to Google Mobile Ads SDK Developers
Hi,

Upon checking none of your sample project has R8 or ProGuard enabled. Those sample projects should also cover compilation of release build with obfuscated code using R8 or ProGuard to have a proper checking.


Regards.

Mobile Ads SDK Forum Advisor

unread,
Oct 8, 2024, 3:39:22 AMOct 8
to devs.b...@gmail.com, google-adm...@googlegroups.com

Hi,

Thank you for the suggestion, I will check with our team and one of my team members will reach out to you once we have an update.   

Sagi

unread,
Oct 9, 2024, 12:31:36 AMOct 9
to Google Mobile Ads SDK Developers
See possible solutions in here.
Reply all
Reply to author
Forward
0 new messages