Skip to content Skip to sidebar Skip to footer

Can't Build With Firebase-config:16.0.0 And Firebase-core:16.0.1

When I build with the latest released versions of firebase-config and firebase-core, I get this error: The library com.google.android.gms:play-services-measurement-base is being

Solution 1:

Oddly enough, the error does not occur when firebase-core is placed before other Firebase libs in the dependencies list:

dependencies {
    ...
    implementation 'com.google.firebase:firebase-core:16.0.1'
    implementation 'com.google.firebase:firebase-config:16.0.0'
    ...
}

Solution 2:

yesterday, i was face same problem .it is easily solved by following dependencies.include these two in your app gradle and sync your project.

implementation 'com.google.android.gms:play-services-analytics:16.0.1'

implementation 'com.google.firebase:firebase-messaging:17.1.0'

Post a Comment for "Can't Build With Firebase-config:16.0.0 And Firebase-core:16.0.1"