Getting errors trying to add Firebase project from Android Studio

18,037

Solution 1

  1. Go to https://console.firebase.google.com
  2. Login to your account
  3. Create a new project as per your requirements
  4. Follow this guide: https://firebase.google.com/docs/android/setup

Solution 2

It's simple.

You all have to just Sign-out and then Sign-in again.

  1. Step 1
  2. Step 2

Problem fixed for me at least. You can try it.

Solution 3

For me it is solved after updating firebase service plugin.

Go to Settings > Plugins > Firebase Services. Make sure it is updated and enabled

Solution 4

go to android studio -> settings -> Appearance & Behaviour -> System Settings

  1. Check Auto Detect Proxy Setting. (Select the option)
  2. check Connection with error website

    For Ex. https://console.firebase.google.com

Apply Changes. and try again without Restarting or with restarting your android studio

Solution 5

I was facing same problem just update your Android studio and plugins by going > Settings >Updates >Check for update

after Updating Restart your pc

Share:
18,037
Admin
Author by

Admin

Updated on July 29, 2022

Comments

  • Admin
    Admin over 1 year

    I want to add Firebase to my project via Android Studio by going to Tools > Firebase > authentication > Email and Password Authentication > Connect to Firebase. A dialog pops up, I choose create new Firebase Project and I get the following error, even though I have a fully working internet connection:

    Firebase: Connect to Firebase failed. Please check your internet connection and try again. If errors persist, you can connect manually at https://console.firebase.google.com Project creation was attempted so an online project may exist online and registered to your account despite this failure message.

    It's much easier setting it up this way rather than doing it manually, so I would like to solve the issue.

    EDIT:

    The problem turned out to be that I had reached the limit for adding new projects. To solve this issue, you have to delete some apps, link the new project to an existing one, or request for additional projects creation from the Firebase team.

  • CoolMind
    CoolMind over 4 years
    What if we don't have Fabric?
  • ivan.panasiuk
    ivan.panasiuk over 4 years
    This was just one example that resolved a similar situation in my case.