You need to check that the firebase.json
file at the root of your project contains the path to the google-services.json
file.
"android": {
"default": {
"projectId": "XXXXX",
"appId": "XXXXX",
"fileOutput": "android/app/google-services.json"
}
}