Firebase初始化问题

时间:2019-02-11 10:37:18

标签: firebase google-play-services

应用程序崩溃,尽管我已经初始化了火力基地,并且所有东西都是最新的服务,火力基地的所有依赖项。一切正常,只需清理构建并解决此问题即可。

Caused by: java.lang.IllegalStateException: Default FirebaseApp is not initialized in this process Make sure to call FirebaseApp.initializeApp(Context) first.
        at com.google.firebase.FirebaseApp.getInstance(com.google.firebase:firebase-common@@16.0.4:240)
        at com.google.firebase.iid.FirebaseInstanceId.getInstance(Unknown Source:1)

0 个答案:

没有答案