6

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

Frank van Puffelen
  • 565,676
  • 79
  • 828
  • 807
CrashHunter
  • 199
  • 1
  • 7

2 Answers2

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.

enter image description here

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