Firebase: Couldn't find registrable Android clients in project
Asked Answered
G

2

7

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

Granulite answered 29/7, 2020 at 7:51 Comment(2)
Have you found the solution? If yes, please share as an answer.Leatriceleave
For 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.Skepful
G
10

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

Gasworks answered 16/3, 2021 at 18:33 Comment(0)
W
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

Woehick answered 26/3, 2022 at 12:18 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.