我在 / app 模块目录中放置了 google-services.json 文件。还是得到这个错误!
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.
是否有针对此问题的更新解决方案?拜托,有人帮助我。
答案 0 :(得分:0)
同样的事情发生在我身上。
从项目中删除google-services.json文件。设置项目中所需的API(地图,FCM等)。然后将google-services.json文件放在根目录中。重建和干净。
希望这会对你有所帮助。