Local Module Descriptor - Class For Com.google.android.gms.google Certificates Not Found
Failed to load module: com.google.android.gms.googlecertificates Ensure the device has Google Play Services installed and updated. 2. ProGuard/R8 is stripping required classes If you see this error accompanied by a crash during Google Sign-In or SafetyNet, your obfuscation rules might be too aggressive.
Have you run into this error causing an actual crash? Let me know in the comments – I’ve debugged a few edge cases involving certificate validation and would love to help. Happy (and less confusing) debugging!
If you’ve ever been greeted by a cryptic log message that says something like: local module descriptor class for com.google.android.gms.google certificates not found you’re not alone. This error usually appears when working with Google Play Services, Firebase, or any SDK that relies on Google’s proprietary code running on the Google Play Services APK. Failed to load module: com
When you see:
-DynamiteModule To summarize:
adb logcat | grep -v "local module descriptor class" Or, in Android Studio Logcat, add this exclusion:
-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. Have you run into this error causing an actual crash
local module descriptor class for com.google.android.gms.google certificates not found it means the runtime attempted to locate a local (bundled) version of a specific module ( google certificates related) but failed. It then tries to load the version from the Google Play Services APK. Is This an Error or a Warning? In most cases, this is just verbose logging, not a crash.
Add the specific required dependency:
The “local module descriptor class not found” message is Google’s way of saying “We didn’t bundle this module locally, but we’ll fetch it from the system.” That’s intentional and by design.