I recently had the same issue. Finally I found out that in the build.gradle file in android/app folder, under signingConfigs -> debug the keystore file did not match with the google-services.json I'm using.