This is some tutorial of firebase. I\'m registering app in Firebase, getting the google-services.json file, pasting it in the app files as shown in the tutorial. Also getting th
May be you're not add a correct SHA1 for your application? you can follow this tutorial to get the correct SHA1. And then on console firebase choose project setting, choose add SHA1. After that, you need to replace google-services.json with the newest one.
Kindly check if all the below conditions were satisfied.
- Update the SHA 1 finger print and package name in your console.
- Place a json configuration file from the developer console and place it under app directory [module level directory].
- Add these lines in the gradle files. a) Module gradle : apply plugin: 'com.google.gms.google-services' b) Project gradle : classpath 'com.google.gms:google-services:3.0.0'
Hope it helps you...