pulse1989
pulse1989

Reputation: 65

Firebase libraries with conflicting library versions fail to run my app

So i'm using the following firebase library version in my app:

Project's build.gradle:

firebase_version = '15.0.0'

And the following library dependencies:

App's build.gradle:

 implementation "com.google.firebase:firebase-firestore:$firebase_version"

It looks like these versions were released on the 10th of April, however when compiling my app with the updated libraries, it fails to run with the following error:

error: cannot access zzbgl
class file for com.google.android.gms.internal.zzbgl not found

When checking all my library versions, my build.gradle has the following error:

enter image description here

not sure if anyone has experienced this by any chance since the latest updates? Before updating from 12.0.1, everything was working.

Thanks

Upvotes: 1

Views: 298

Answers (1)

Levi Moreira
Levi Moreira

Reputation: 12005

Simply override (add to your gradle file) the conflicting library, updating the version to match the ones you already have in your gradle file. Somewhere in your dependencies someone is using an older version of this library and it's crashing with your version:

implementation "com.google.android.gms:play-services-auth:$firebase_version"

Upvotes: 1

Related Questions