错误“模块根文件夹中缺少文件google-services.json。

我将项目更新为最新的Play服务classpath 'com.google.gms:google-services:1.5.0-beta2'。我还在app.gradle文件中使用了最新版本的playservices:


compile 'com.google.android.gms:play-services-location:8.3.0'

compile 'com.google.android.gms:play-services-gcm:8.3.0'

但是,当我编译时,Gradle会引发如下异常


Error:Execution failed for task ':app:processDebugGoogleServices'. > File google-services.json is missing from module root folder. The Google Services Plugin cannot function without it.


梵蒂冈之花
浏览 3896回答 3
3回答
打开App,查看更多内容
随时随地看视频慕课网APP