Android studio build inished with non-zero exit value 1

android studio build 比较大的工程时,出现如下错误:
* 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



解决方法:
dexOptions {

        javaMaxHeapSize "3G"

    }

猜你喜欢

转载自tonyking2010.iteye.com/blog/2276646