Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android -File google-services.json is missing. The Google Services Plugin cannot function without it

I'm trying to connect my app to Firebase, but it keeps saying google-services.json is missing, even though I've added it to the right place. Actually, the last time I tried this (on a different app), it worked, but this time it doesn't. I read a lot of articles but my problem still persists. Any help?

Thanks!

like image 587
Pushpak Raj Gautam Avatar asked Mar 10 '23 20:03

Pushpak Raj Gautam


1 Answers

You have to download the config file for your Android app from Firebase Project settings.

Please refer to this link for steps of Getting a config file for your Android app

Note that the file should be used as follows:

Copy the file into the app/ folder of your Android Studio project, or into the app/src/{build_type} folder if you are using multiple build types.

like image 65
Atef H. Avatar answered Apr 06 '23 02:04

Atef H.