任务':processDebugGoogleServices'执行失败。 in ionic2

时间:2017-12-22 05:07:47

标签: ionic2

尝试构建/运行Ionic2应用程序时出现以下错误。

Execution failed for task ':processDebugGoogleServices'.
  

请修改版本冲突,方法是更新google-services插件的版本(https://bintray.com/android/android-tools/com.google.gms.google-services/提供有关最新版本的信息)或将com.google.android.gms版本更新为11.0.1

我发现了类似的问题https://stackoverflow.com/questions/45080323/execution-failed-for-task-processdebuggoogleservices,但它并没有解决我的问题。

请帮我解决此错误

1 个答案:

答案 0 :(得分:0)

@Anand,

尝试删除android平台并通过以下命令添加最新版本。

ionic cordova platform add android@latest

让我知道它是否解决了您的问题。