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

前端 未结 12 1347
渐次进展
渐次进展 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 20:49

    In my case, the problem occurs because i had put "apply plugin: 'com.google.gms.google-services'" inside the dependencies of the modules build.grandle insteand of putting it at the end of the file.

提交回复
热议问题