FirebaseApp not initializing despite FirebaseApp.initializeApp() being called in Application class

后端 未结 8 889
佛祖请我去吃肉
佛祖请我去吃肉 2021-01-11 09:59

I am creating an Android application and I\'m currently trying to implement user authentication using Firebase. As far as I can tell, my app is connected to my Firebase serv

8条回答
  •  一生所求
    2021-01-11 10:42

    It is easier to use the Firebase wizard that is included in Android Studio: it adds all the dependencies in the gradle files, creates the firebase project if needed, connects the app with the project, etc.

    In Android Studio open menu Tools / Firebase and follow the instructions.

    Then FirebaseApp.initializeApp() will return a valid value.

提交回复
热议问题