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?
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.
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
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With