You need to get the configuration file from the developer's site and paste it in the app level directory of your project.
Update:
Goto
https://console.firebase.google.com/
Select your project
On the left menu, click on settings > project settings
Add an app or download the google-services.json file under the Your Apps section.
Please go to this URL :
https://developers.google.com/mobile/add
Choose your Options and finally you will be able to download
google-service.json
file
copy that file and paste it Into
YourProjectName/app
Directory
Then recompile the project Most probably it will fly
In my case the project directory looks like this :
For anyone using Firebase you need to go into your console and there it should say "add project to Android". From there, it will step-by-step generate the google-services.json file for you.
I received this error while trying to run Google's Firebase analytics sample app:
Prerequisites:
Add Procedure:
Remove Procedure:
I added and removed the sample app multiple times without any noticeable side effects.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With