执行失败的任务“:应用程序:dexDebug”机器人工作室 [英] Execution failed for task ':app:dexDebug' Android Studio
本文介绍了执行失败的任务“:应用程序:dexDebug”机器人工作室的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
该应用程序能够更新我的机器人工作室之前执行,这是我得到的错误:
错误:未能执行任务:应用程序:dexDebug。
> com.android.ide.common.process.ProcessException:
org.gradle.process.internal.ExecException:
流程'命令'C:\ Program Files文件\的Java \ jdk1.8.0_25 \斌\ java.exe的''完成
非零退出值1
解决方案
如果您有支持-V4和支持-V7在build.gradle然后加入这一行到您的build.gradle顶部。
配置{
所有* .exclude组:com.android.support',模块:支持-V4
}
<一个href="http://stackoverflow.com/questions/21102598/android-studio-unexpected-top-level-exception">Also阅读此
The application was able to execute before updating my android studio,this is the error I am getting:
Error:Execution failed for task ':app:dexDebug'.
> com.android.ide.common.process.ProcessException:
org.gradle.process.internal.ExecException:
Process 'command 'C:\Program Files\Java\jdk1.8.0_25\bin\java.exe'' finished
with non-zero exit value 1
解决方案
If you have support-v4 and support-v7 in build.gradle then add this line into your build.gradle at top.
configurations {
all*.exclude group: 'com.android.support', module: 'support-v4'
}
这篇关于执行失败的任务“:应用程序:dexDebug”机器人工作室的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文