Add the standard Google Play Services ProGuard rules (usually automatic with com.google.gms:google-services plugin, but check manually):
-keep class com.google.android.gms.** *; -dontwarn com.google.android.gms.** If you only included play-services-base but need play-services-auth or play-services-location , some modules won’t load. Add the standard Google Play Services ProGuard rules
| Situation | Action | |-----------|--------| | App runs fine, no crash | ✅ Ignore | | App crashes with ClassNotFoundException for a Google API | ❌ Check GMS version & dependencies | | Emulator or device without Play Services | ❌ Install GMS or switch to a proper emulator image | | Release build crash (but debug works) | ❌ Check ProGuard/R8 rules | Add the standard Google Play Services ProGuard rules