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

前端 未结 4 1000
星月不相逢
星月不相逢 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:21

    Add the plugin to the build.gradle (app level)

    // ADD THIS AT THE BOTTOM

    apply plugin: 'com.google.gms.google-services'
    

提交回复
热议问题