Firebase: Couldn't find registrable Android clients in project.
When i select release build type, android studio tell me "Firebase: Couldn't find registrable Android clients in project."
But debug type is ok.
Asked
Active
Viewed 1,449 times
6

Frank van Puffelen
- 565,676
- 79
- 828
- 807

CrashHunter
- 199
- 1
- 7
-
1Have you found the solution? If yes, please share as an answer. – Rohit Surwase Aug 09 '20 at 17:19
-
1For me, I just need to do the connection in DEBUG the first time to create the json file. The crashlytics will still work in RELEASE mode. – Angel Koh Mar 06 '21 at 13:54
2 Answers
7
Thanks to Angel Koh. This issue came when I kept the build variant as 'Release'. I switched it to 'Debug' and was able to connect to Firebase with that.

Janaaaa
- 1,346
- 1
- 16
- 34
1
Try to download google-services.json from firebase project under firebase console and keep at app directory (app level). If you have not created firebase project under firebase console, then go to firebase.google.com -> login -> go to console -> create new project (follow https://firebase.google.com/docs/android/setup) -> download google-services.json -> save at app directory (app level) you can follow android studio assistant firebase steps or https://firebase.google.com/docs/android/setup

Vaibhav
- 11
- 2