【问题标题】:How can I change/add google-services.json search location如何更改/添加 google-services.json 搜索位置
【发布时间】:2017-05-19 14:46:29
【问题描述】:

现在谷歌服务插件试图在两个目录中找到它:

* 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

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

【问题讨论】:

  • 有任何关于如何做到这一点的消息吗?

标签: android firebase google-play-services


【解决方案1】:

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

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

【讨论】:

  • 是的,我想通过添加到某种“搜索列表”来使这个位置正确
猜你喜欢
  • 2020-06-15
  • 2015-11-11
  • 2015-10-19
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 2016-02-11
相关资源
最近更新 更多