Failed to connect to Firebase from Android Studio Assistant

旧巷老猫 提交于 2019-12-22 04:04:39

问题


I am trying to connect to Firebase from Android Studio Assistance but getting following error despite having internet connection.


回答1:


The quickest way to get around this is to create (or upgrade your project to enable Firebase) in the Firebase Console first; then connect your app through the Android Studio tool again.

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. You can find this by going to 'Help > Show Log ...'.




回答2:


This Error occurs when you reach total number of projects limit on FireBase which FireBase allow you to can create per FireBase account. Then FireBase not Allow you to create any more project through Android Studio. In this case you can only connect with existing projects through Android Studio.

Share to improve...




回答3:


In my case the problem was with the account I was signed in firebase. I was signed in with my university account (which is not gmail, but uses gmail's services). After signing in with my 'gamil.com' account, the problem resolved.




回答4:


In my case, I followed below steps and it worked.

Android SDK Manager > Tools > Options > [select] Force https://...




回答5:


I had this message as well. However, when I went to the Firebase console I noticed that one of my project variants got uploaded. So, I ignored the error message and continued connecting to Firebase. Every time I did this it uploaded one of my variants. When all of my variants were uploaded, the error message went away.




回答6:


Just sign out your gmail account from Android Studio and then re-sign in again. After this, try again connecting to the firebase. It should connect!




回答7:


simply increase the project quota from firebase....it's free i was facing this issue for very long time but now issue is resolved. i think android studio should return the proper message.



来源:https://stackoverflow.com/questions/37675320/failed-to-connect-to-firebase-from-android-studio-assistant

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!