如何更改/添加google-services.json搜索位置

时间:2017-05-19 14:46:30

标签: android firebase google-play-services

现在,Google服务插件尝试在两个目录中找到它:

* What went wrong:
Execution failed for task ':krq-player-android:processDebugGoogleServices'.
> File google-services.json is missing. The Google Services Plugin cannot function without it. 
   Searched Location: 
  C:\Users\Alexandr\Projects\krq\krq-player-android\src\debug\google-services.json
  C:\Users\Alexandr\Projects\krq\krq-player-android\google-services.json

如何在构建期间再添加一个?

1 个答案:

答案 0 :(得分:-1)

您已将json文件放在错误的位置

该位置是project / app / google-services.json