错误:任务':app:dexDebug'的执行失败。

时间:2016-03-13 15:08:44

标签: android ocr

我正在使用android工作室进行OCR,但在这里我遇到了这个问题,我不知道为什么。谢谢你的帮助。错误是

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_65\bin\java.exe'' finished with non-zero exit value 2

这是build.gradle

        // Top-level build file where you can add configuration options common to all sub-projects/modules.

        buildscript {
        repositories {
        jcenter()
   `enter code here` }
    dependencies {
        classpath 'com.android.tools.build:gradle:1.3.0'

        // NOTE: Do not place your application dependencies here; they belong
        // in the individual module build.gradle files
    }
}

allprojects {
    repositories {
        jcenter()
    }
}

task clean(type: Delete) {
    delete rootProject.buildDir
}

0 个答案:

没有答案