Error "File google-services.json is missing from module root folder. The Google Services Plugin cannot function without it" [duplicate]
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
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.