How to solve Firebase API initialization failure (Android + Firebase)

前端 未结 12 1348
渐次进展
渐次进展 2020-12-29 20:02

I recently needed to use Google GCM in my project. From its website it is said:

Firebase Cloud Messaging (FCM) is the new version of GCM. It inherits

12条回答
  •  天命终不由人
    2020-12-29 21:02

    You can check the dependencies with gradle command

    ./gradlew app:dependencies
    

    As Edgar said ensure that all the dependency libraries has same version. If not then you can exclude that dependency using

    compile('your dependency') {
        exclude group: 'lib to be removed'
    }
    

    And add that dependency yourself.

提交回复
热议问题