无法导入谷歌播放服务7.0.0 [英] Can not import Google play service 7.0.0

查看:187
本文介绍了无法导入谷歌播放服务7.0.0的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图打服务升级,从87年6月5日至7.0.0。

I am trying to upgrade play service from 6.5.87 to 7.0.0.

我收到错误:执行失败的任务当我部署的设备应用程序

I am getting Error:Execution failed for task when i deploy that app on device.

Error:Execution failed for task ':app:dexDebug'.
com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process 'command '/Library/Java/JavaVirtualMachines/jdk1.7.0_67.jdk/Contents/Home/bin/java'' finished with non-zero exit value 2

下面是我的build.gradle

Here is my build.gradle

https://gist.github.com/melody-dev/7c72db4aca8c2083a067

推荐答案

我已经得到了同样的问题。这是因为谷歌的图书馆项目中的冲突。您已经添加了一个新的,但没有删除旧的。
请尝试以下步骤:

I've got the same problem. It is because of conflicts of Google libraries in your project. You've added a new one, but did not delete the old one. Try these steps:


  1. 清理项目

  1. Clean your project

重建项目

重新启动Android的工作室

Restart Android Studio

这篇关于无法导入谷歌播放服务7.0.0的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆