解决:android studio 运行时Process 'command 'C:\Program Files\Java\jdk1.8.0_60\bin\java.exe' 错误
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_60\bin\java.exe'' finished with non-zero exit value 2 (或1)
dexOptions {
javaMaxHeapSize "1g"
<!-- Java.exe finished with non-zero exit value 1
设置的值不要大于你机器可用的内存,
如:Windwos10 4GB 此处设置为 1g-->
}