当前位置: 代码迷 >> Android >> Android studio build inished with non-zero exit value 一
  详细解决方案

Android studio build inished with non-zero exit value 一

热度:143   发布时间:2016-04-24 11:41:10.0
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"

    }

  相关解决方案