简体   繁体   English

Android工作室助手连接Firebase失败

[英]Failed to connect to Firebase from Android Studio Assistant

I am trying to connect to Firebase from Android Studio Assistance but getting following error despite having inte.net connection.我正在尝试从 Android Studio Assistance 连接到 Firebase,但尽管有 inte.net 连接,但仍出现以下错误。

在此处输入图像描述

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”帐户登录后,问题解决了。

In my case, I followed below steps and it worked.就我而言,我按照以下步骤操作并且它起作用了。

Android SDK Manager > Tools > Options > [select] Force https://... Android SDK 管理器 > 工具 > 选项 > [选择] 强制 https://...

在此处输入图片说明

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.

相关问题 通过 Firebase 助手设置 Firebase 后运行 Android Studio 应用程序时出现问题 - Problem with running Android Studio app after setting up Firebase through Firebase Assistant 将一个 android 工作室项目连接到另一个 firebase 帐户 - Connect an android studio proyect to another firebase account Android Studio - 列出来自 Firebase 的评论 - Android Studio - listing reviews from Firebase Android Studio - 从 GetIdToken 获取 Firebase 令牌 - Android Studio - Get Firebase token from GetIdToken android工作室中firebase的孩子如何获取? - How to get the child from firebase in android studio? android 工作室未连接到 firebase - android studio is not connecting with firebase 使用 firebase 在 android 工作室中搜索 - search in android studio with firebase 我如何等待 FireBase Kotlin Android Studio 的回复 - how do I wait for a response from FireBase Kotlin Android Studio Recycler View 不更新来自 Firebase 数据库的消息:Android Studio - Recycler View not updating messages from Firebase Database: Android Studio 当我按照文档尝试将我的 Android Studio 连接到 Firebase 时出现错误 - Getting error when I am trying to connect my Android Studio to Firebase following the docs
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM