[英]Failed to connect to Firebase from Android Studio Assistant
This Error occurs when you reach total number of projects limit on FireBase which FireBase allow you to can create per FireBase account.当您达到 FireBase 允许您可以为每个 FireBase 帐户创建的 FireBase 项目总数限制时,会发生此错误。 Then FireBase not Allow you to create any more project through Android Studio.
然后 FireBase 不允许您通过 Android Studio 创建更多项目。 In this case you can only connect with existing projects through Android Studio.
在这种情况下,您只能通过 Android Studio 连接现有项目。
Share to improve...分享以改善...
The quickest way to get around this is to create (or upgrade your project to enable Firebase) in the Firebase Console first;解决此问题的最快方法是首先在Firebase 控制台中创建(或升级您的项目以启用 Firebase); then connect your app through the Android Studio tool again.
然后再次通过 Android Studio 工具连接您的应用。
This is a generic failure message so to help us investigate it would be great if you could provide the detailed error message from the Studio log.这是一条通用故障消息,因此如果您能提供 Studio 日志中的详细错误消息,将有助于我们进行调查。 You can find this by going to ' Help > Show Log ... '.
您可以通过转到“帮助>显示日志... ”来找到它。
In my case the problem was with the account I was signed in firebase.就我而言,问题出在我在 firebase 中登录的帐户上。 I was signed in with my university account (which is not gmail, but uses gmail's services).
我是用我的大学帐户登录的(不是 gmail,而是使用 gmail 的服务)。 After signing in with my 'gamil.com' account, the problem resolved.
使用我的“gamil.com”帐户登录后,问题解决了。
I had this message as well.我也收到了这条消息。 However, when I went to the Firebase console I noticed that one of my project variants got uploaded.
但是,当我进入 Firebase 控制台时,我注意到我的一个项目变体被上传了。 So, I ignored the error message and continued connecting to Firebase.
因此,我忽略了错误消息并继续连接到 Firebase。 Every time I did this it uploaded one of my variants.
每次我这样做时,它都会上传我的一个变体。 When all of my variants were uploaded, the error message went away.
上传我的所有变体后,错误消息消失了。
Just sign out your gmail account from Android Studio and then re-sign in again.只需从 Android Studio 注销您的 Gmail 帐户,然后重新登录即可。 After this, try again connecting to the firebase.
在此之后,再次尝试连接到 Firebase。 It should connect!
它应该连接!
simply increase the project quota from firebase....it's free i was facing this issue for very long time but now issue is resolved.只需增加来自 firebase 的项目配额....它是免费的 我一直面临这个问题,但现在问题已解决。 i think android studio should return the proper message.
我认为 android studio 应该返回正确的消息。
I also faced same issue.我也面临同样的问题。 I tried everything.
我尝试了一切。 I have searched everything on google but did not got anything but finally I got a solution for this.
我在谷歌上搜索了所有内容,但没有得到任何东西,但最终我得到了解决方案。 Firstly go and simply update your android studio and plugin.
首先去简单地更新你的android studio和插件。 After updating your android studio to latest version, every problem will get sort.
将您的 android studio 更新到最新版本后,每个问题都会得到解决。
After doing the above step, if you are still facing the same issue then check, if you have already made three projects on google cloud platform ie firebase.完成上述步骤后,如果您仍然面临同样的问题,请检查您是否已经在谷歌云平台即 firebase 上制作了三个项目。 If you have already made three then contact google to increase your free project quota on firebase.
如果您已经制作了三个,请联系 google 以增加您在 firebase 上的免费项目配额。 To do so, fill the below form, they will approve your request.
为此,请填写以下表格,他们将批准您的请求。 form link - https://support.google.com/code/contact/project_quota_increase
表单链接 - https://support.google.com/code/contact/project_quota_increase
When google will approve your request then your issue should get resolved当谷歌批准您的请求时,您的问题应该得到解决
Try updating your android studio.尝试更新您的 android studio。 By doing this my issue is resolved.
通过这样做,我的问题得到了解决。
Just update the FireBase Plugin in SDK Manager只需在 SDK Manager 中更新 FireBase 插件
Change your Android studio http and proxy settings to no proxy and rebuild your project.将您的 Android Studio http 和代理设置更改为无代理并重建您的项目。 This one worked for me.
这个对我有用。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.