Skip to content Skip to sidebar Skip to footer

Cannot Access Zzbfm Class File Zzbfm Not Found, Firebase, Android?

I have integrated play services and firebase in my app. When I run the application I get this error cannot access zzbfm class file for com.google.android.gms.internal.zzbfm not fou

Solution 1:

You can't mix versions <= 12 and versions >= 15 of Firebase libraries.

implementation 'com.google.firebase:firebase-core:16.0.0'
implementation 'com.google.firebase:firebase-auth:11.6.2'
implementation 'com.google.firebase:firebase-messaging:11.8.0'

The easiest fix is to upgrade all of these to version 16 or later:

implementation 'com.google.firebase:firebase-core:16.0.0'
implementation 'com.google.firebase:firebase-auth:16.0.1'
implementation 'com.google.firebase:firebase-messaging:17.0.0'

All of these versions are from the setting up Firebase for Android documentation, so be sure to check there for the latest updates.

Background: In version 12 and lower the versions of all Firebase (and Play Services) libraries in a project had to be exactly the same. In version 15 later, you can mix versions. But there is no way to mix <= 12 and >= 15 libraries in a single project.

Post a Comment for "Cannot Access Zzbfm Class File Zzbfm Not Found, Firebase, Android?"