Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Fire-base stuck and not connecting with android studio

HI i'm beginner android developer.I'm using Fire-base in my project but it's not connecting and stuck on Launching Web Connect flow....Please Help....it works fine with manual connection ...but tool isn't working.

Screenshot of problem

like image 490
Aniq Goreja Avatar asked Apr 11 '20 11:04

Aniq Goreja


People also ask

How do apps connect to Firebase?

Open the Firebase Assistant: Tools > Firebase. In the Assistant pane, choose a Firebase product to add to your app. Expand its section, then click the tutorial link (for example, Analytics > Log an Analytics event). Click Connect to Firebase to connect your Android project with Firebase.


2 Answers

This problem arises when you don't have any project on Firebase. You can resolve this issue by following the points below.

  1. Make sure that you are logged in with the same Google account on Android Studio and Firebase. On Firebase home page, click on Go to console (present on the upper right corner). After that a page will appear.
  2. Click on Create a project.
  3. Follow the commands coming on the way.
  4. Check all the boxes to allow different permissions required to setup the project.
  5. Click on Create project.
  6. Open Android Studio (already running in mentioned state).
  7. After 1-5 seconds the issue will be resolved.

Well done. You solved the problem :)

like image 103
sharique Avatar answered Sep 26 '22 02:09

sharique


This happened to me also, and I resolved it with these steps:

  1. Go to the browser window that opened for Firebase.
  2. Click button called "Create a project"
  3. Named the new project in the Firebase site and nothing happened in my Android Studio.
  4. Closed the browser and clicked cancel in Android Studio.
  5. Started the process over in Android Studio, then when Firebase website opened, I clicked on the project I'd made in step #3.
  6. Then the browser redirected and said "Your Android Studio project is connected to your Firebase Android app"
  7. ...and the "Launching Web Connect flow" went away and it now shows as connected!

Hope this helps.

like image 31
khemo Avatar answered Sep 23 '22 02:09

khemo