Groups keyboard shortcuts have been updated
Dismiss
See shortcuts

Migration from version 23 to version 24 Admob error

54 views
Skip to first unread message

Game Games

unread,
May 11, 2025, 8:22:58 AMMay 11
to Google Mobile Ads SDK Developers
Admob SDK support please answer my question.

I updated implementation 'com.google.android.gms:play-services-ads:23.0.0' to 24.2.0'.
When I generate the app bundle I get this error:

Missing classes detected while running R8. Please add the missing classes or apply additional keep rules that are generated in .....\android\build\outputs\mapping\release\missing_rules.txt.

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

Missing class android.media.LoudnessCodecController (referenced from: android.media.LoudnessCodecController com.google.android.gms.internal.ads.zzss.zzb and 4 other contexts)

If I add these lines to the proguard-rules.pro file
-dontwarn android.media.LoudnessCodecController
-dontwarn android.media.LoudnessCodecController$OnLoudnessCodecUpdateListener

then the error disappears and I can generate the app bundle.

Can I add these lines to proguard-rules.pro ?

Mobile Ads SDK Forum Advisor

unread,
May 12, 2025, 2:26:15 AMMay 12
to forumi...@gmail.com, google-adm...@googlegroups.com

Hi,

Thank you for contacting the Mobile Ads SDK support team.

We have reviewed the Google Sample Project using the specified version and successfully generated the bundle.

Additionally, confirm whether the mentioned issue is reproducible in our Google Sample Project? If yes, kindly share the Sample project reproducing the issue so we can check and provide a solution.

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 via reply to author or 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=500Ht00001qWbQpIAK&entry.80707362=00304963

2. Fill out all fields, and attach your file(s).

3. Please reply back to 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-05-12 06:25:21Z GMT] This message is in relation to case "ref:!00D1U01174p.!500Ht01qWbQp:ref" (ADR-00304963)



Reply all
Reply to author
Forward
0 new messages