Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android Studio Assistant: No clients were able to be added to your Firebase project

When using the the new (Firebase) Assistant in Android Studio to add new services I get this error:

Firebase

No clients were able to be added to your Firebase project for the following reasons: An app with this package name and SHA1 is already connected to a Google project. If you have used a Google API previously, please select that project in the Connect to an existing Project list.

On the Firebase console page I had selected the option IMPORT GOOGLE PROJECTS and then I continued on integrating the Firebase Services. But when I try to use the Android Studio Firebase Assistant to add more services I get the error above.

And I can't find this "in the Connect to an existing Project list" anywhere?

like image 646
TouchBoarder Avatar asked May 22 '16 17:05

TouchBoarder


People also ask

How to connect your project with 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.


1 Answers

You can go to Credentials page of Google Cloud console and manage credentials of all your projects.

In my case, I needed to remove a credential that had caused the conflict (WARN: For caution, download it before removing it. Or just modify it).

If you deleted your firebase project recently (like me), see: https://stackoverflow.com/a/45270281/5318303.


See this for more information or other cases: An OAuth2 client already exists for this package name and SHA-1 in another project

like image 160
Mir-Ismaili Avatar answered Nov 15 '22 19:11

Mir-Ismaili