简体   繁体   中英

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!

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM