我放了谷歌服务.json 我的 中的文件/app 模块目录。仍然收到此错误!
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app:processDebugGoogleServices'.
> File google-services.json is missing from module root folder. The Google Services Plugin cannot function without it.
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
这个问题有更新的解决方案吗?请任何人帮助我。
最佳答案
同样的事情也发生在我身上。
Remove the google-services.json file from your project .Set up for the API which you want in your project(Maps,FCM,etc).then place your google-services.json file in your root directory.Rebuild and clean.
Hope this will help you.
关于android - google-services.json 文件丢失,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/37988664/