google-services.json"已找到,但它表示您似乎无权访问的项目 ID [英] google-services.json" was found, but it indicates a project ID that you don't appear to have access to
问题描述
在 Firebase Option Android Studio 中,当我单击连接到 Firebase"时,出现以下错误.
In Firebase Option Android Studio when I click on "connect to firebase" I am getting the following error.
google-services.json"已找到,但它表示您似乎无权访问的项目 ID.请求访问或删除文件以继续连接过程.
"google-services.json" was found, but it indicates a project ID that you don't appear to have access to. Request access or delete the file in order to proceed with the connection process.
我不知道如何请求访问和删除.我该怎么办?
I don't know how to request to access and delete. What should I do?
推荐答案
如果您使用不同的帐户登录 Android Studio 和 Firebase 控制台,则会出现此错误.
This error will occur if you are signed in to Android Studio and the Firebase Console with different accounts.
在 Android Studio 中,点击右上角的个人资料小图标以查看您的登录帐户.对浏览器的 Firebase 控制台选项卡执行相同的操作.如果它们不同,请退出并登录以使其相同.
In Android Studio, click on the small profile icon in the upper right corner to see your sign-in account. Do the same for the Firebase Console tab of your browser. If they are different, sign out and sign in to make them the same.
这篇关于google-services.json"已找到,但它表示您似乎无权访问的项目 ID的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!