How to add google-services.json in Android?

前端 未结 10 2170
无人及你
无人及你 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条回答
  • 2020-11-30 09:02

    For using Google SignIn in Android app, you need

    google-services.json

    which you can generate using the instruction mentioned here

    0 讨论(0)
  • 2020-11-30 09:06

    It should be on Project -> app folder

    Please find the screenshot from Firebase website

    0 讨论(0)
  • 2020-11-30 09:08

    WINDOWS

    1. Open Terminal window in Android Studio (Alt+F12 or View->Tool Windows->Terminal). Then type

    "move file_path/google-services.json app/"

    without double quotes.

    eg

    move C:\Users\siva\Downloads\google-services.json app/
    

    LINUX

    1. Open Android Studio Terminal and type this

    scp file_path/google-services.json app/

    eg:

    scp '/home/developer/Desktop/google-services.json' 'app/'
    
    0 讨论(0)
  • 2020-11-30 09:11

    Click right above the app i.e android(drop down list) in android studio.Select the Project from drop down and paste the json file by right click over the app package and then sync it....

    0 讨论(0)
提交回复
热议问题