When I build with the latest released versions of firebase-config
and firebase-core
, I get this error:
The library
com
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'
...
}
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'