Firebase database getInstance crashes app

后端 未结 3 1096
忘掉有多难
忘掉有多难 2020-12-19 11:02

When running the sample after creating google-service.json, the app crashes when trying to get database reference in SignInActivity

mDatabase = FirebaseDatab         


        
3条回答
  •  庸人自扰
    2020-12-19 11:36

    Download google-services.json from Project Settings in the Firebase console. My mistake was downloading it from https://developers.google.com/mobile/add.

提交回复
热议问题