Android studio build inished with non-zero exit value 1

When android studio builds a relatively large project, the following error occurs:
* What went wrong:
Execution failed for task ':pandabusDriver:dexDebug'.
> ​​com.android.ide.common.process.ProcessException: org.gradle.process.internal. ExecException: Process 'command '/Library/Java/JavaVirtualMachines/jdk1.8.0_60.jdk/Contents/Home/bin/java'' finished with non-zero exit value 1



Solution:
dexOptions {

        javaMaxHeapSize "3G"

    }

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=327069735&siteId=291194637