2016-10-18 66 views
1

同步我的應用程序文件夾中的google-services.json而是試圖將gradle這個我有以下消息時同步無法火力在Android Studio中

Error:Execution failed for task ':app:processDebugGoogleServices'. 
> File google-services.json is missing. The Google Services Plugin cannot function without it. 
    Searched Location: 
    /home/dhmxl/AndroidStudioProjects/J-trock/app/src/debug/google-services.json 
    /home/dhmxl/AndroidStudioProjects/J-trock/app/google-services.json 
+0

嘗試像這樣** Build-> clean project **和** Build-> rebuild project ** ..如果沒有任何事情發生,請重新啓動android studio。 **文件 - >無效緩存/重新啓動** –

+0

檢查一次你有沒有正確的google-services.json文件 –

回答

1

確保您放置在谷歌,services.json文件夾下的文件「app