why java.exe exit with value 1 in android studio

后端 未结 10 1167
有刺的猬
有刺的猬 2020-12-04 01:22

Error:Execution failed for task \':app:dexDebug\'.

com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process

10条回答
  •  感动是毒
    2020-12-04 02:21

    I just add these lines and it works. You can try but not sure it will solve your problem.

    compileOptions {
        sourceCompatibility JavaVersion.VERSION_1_6
        targetCompatibility JavaVersion.VERSION_1_6
    }
    

提交回复
热议问题