Can't Build with firebase-config:16.0.0 and firebase-core:16.0.1

后端 未结 2 375
生来不讨喜
生来不讨喜 2020-12-21 11:05

When I build with the latest released versions of firebase-config and firebase-core, I get this error:

The library com

相关标签:
2条回答
  • 2020-12-21 11:45

    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'
        ...
    }
    
    0 讨论(0)
  • 2020-12-21 12:04

    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'

    0 讨论(0)
提交回复
热议问题