google-services.json" was found, but it indicates a project ID that you don't appear to have access to

后端 未结 7 1473
暖寄归人
暖寄归人 2021-02-19 07:04

In Firebase Option Android Studio when I click on \"connect to firebase\" I am getting the following error.

\"google-services.json\" was found, but it ind

7条回答
  •  暗喜
    暗喜 (楼主)
    2021-02-19 07:09

    For me, the problem was that I had a wrong "google-service.json" file in my project.
    (I signed in to Android Studio & Firebase Console)

    If you are like me, you need this.

    ① delete all "google-service" file. You can easily find it by [Ctrl + shift + n] and put the file name in.

    ② Go to Firebase Console → Setting → App setting → app card below, now you can find  "goole-service.json" file that is customized for your project. Download it.

    ③ Copy the new file and paste it in your Project. (Project → app → here!!!)

    ④ Go to Firebase assistant and click "connect to Firebase"

提交回复
热议问题