How to add google-services.json in Android?

前端 未结 10 2333
无人及你
无人及你 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: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/'
    

提交回复
热议问题