Firebase: Couldn't find registrable Android clients in project

2k views Asked by At

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. enter image description here

2

There are 2 answers

0
Janaaaa On

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.

enter image description here

0
Vaibhav On

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