Default FirebaseApp is not initialized in this process. Make sure to call FirebaseApp.initializeApp(Context) first

前端 未结 4 1004
星月不相逢
星月不相逢 2021-02-07 16:11

Default FirebaseApp is not initialized in this process. Make sure to call FirebaseApp.initializeApp(Context) first.

i have tried with many things but i am not able to Ge

4条回答
  •  情歌与酒
    2021-02-07 16:19

    Make sure:

    1. Package name in AndroidManifest.xml is identical to one in the google-services.json
    2. google-services.json build action is set to GoogleServicesJson
    3. After step 2 restart your IDE & clean & rebuild
    4. Explicitly call FirebaseApp.InitializeApp(Application.Context); in MainActivity.OnCreate just before the LoadApplication(..)

提交回复
热议问题