如何解决任务':app:dexDebug'的执行失败com.android.ide.common.process.ProcessException:org.gradle.process.internal.ExecException
我有同样的错误。但是我通过在依赖项中的build.gradle中添加以下缺少的行来解决了该问题。编译’com.parse.bolts:bolts- android:1. +’
After adding this line, my dependencies body was like this:
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
compile 'com.android.support:appcompat-v7:22.0.0'
compile 'com.parse.bolts:bolts-android:1.+'
compile fileTree(dir: 'libs', include: 'Parse-*.jar')
compile fileTree(dir: 'libs', include: "commons-io-2.4.jar") }
您也可以与您的配对,看看它是否也可以帮助您
解决方法
在项目中导入docx4j库后出现此错误时,我正在构建我的android项目。我应该怎么做才能摆脱这种例外。
错误:任务’:app:dexDebug’的执行失败。>
com.android.ide.common.process.ProcessException:org.gradle.process.internal.ExecException:进程’command’/
usr / lib / jvm / java-7-openjdk-amd64 / bin / java’‘以非-零退出值2
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。