How to add google-services.json in Android?

前端 未结 10 2332
无人及你
无人及你 2020-11-30 08:06

The error is:

File google-services.json is missing from module root folder. The Google Quickstart Plugin cannot function without it.

10条回答
  •  旧时难觅i
    2020-11-30 08:50

    1. Download the "google-service.json" file from Firebase
    2. Go to this address in windows explorer "C:\Users\Your-Username\AndroidStudioProjects" You will see a list of your Android Studio projects
    3. Open a desired project, navigate to "app" folder and paste the .json file
    4. Go to Android Studio and click on "Sync with file system", located in dropdown menu (File>Sync with file system)
    5. Now sync with Gradle and everything should be fine

提交回复
热议问题