无法在android studio中同步firebase

时间:2022-02-02 20:04:59

I have the google-services.json in the app folder but when trying to synchronize the gradle I have the following message

我在app文件夹中有google-services.json,但在尝试同步gradle时,我有以下消息

Error:Execution failed for task ':app:processDebugGoogleServices'.
> File google-services.json is missing. The Google Services Plugin cannot function without it. 
   Searched Location: 
  /home/dhmxl/AndroidStudioProjects/J-trock/app/src/debug/google-services.json
  /home/dhmxl/AndroidStudioProjects/J-trock/app/google-services.json

1 个解决方案

#1


1  

Make sure that you are placed the google-services.json file under the folder "app"

确保将google-services.json文件放在“app”文件夹下

#1


1  

Make sure that you are placed the google-services.json file under the folder "app"

确保将google-services.json文件放在“app”文件夹下