任务 ':app:dexDebug' Android Studio 执行失败 [英] Execution failed for task ':app:dexDebug' Android Studio
本文介绍了任务 ':app:dexDebug' Android Studio 执行失败的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
该应用程序能够在更新我的 android studio 之前执行,这是我收到的错误:
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
推荐答案
如果您在 build.gradle 中有 support-v4 和 support-v7(版本不同),请将此行添加到您的 build.gradle 顶部.
If you have support-v4 and support-v7 (with different version) in build.gradle then add this line into your build.gradle at top.
配置{all*.exclude 组:'com.android.support',模块:'support-v4'}
这篇关于任务 ':app:dexDebug' Android Studio 执行失败的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文