现在 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
如何在构建期间再添加一个?
最佳答案
您将 json 文件放在了错误的位置
位置是project/app/google-services.json
关于android - 如何更改/添加 google-services.json 搜索位置,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/44073023/