我加入multidex庫後得到這個錯誤:通過啓用multidex在build.gradle
啓用multidex錯誤:與非零退出值完成3
Error:Execution failed for task ':app:dexDebug'. > com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process 'command '/Library/Java/JavaVirtualMachines/jdk1.8.0_65.jdk/Contents/Home/bin/java'' finished with non-zero exit value 2
當我解決它:
defaultConfig{
...
multiDexEnabled true
}
但經過我得到了另一個錯誤:
Error:Execution failed for task ':app:dexDebug'. > com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process 'command '/Library/Java/JavaVirtualMachines/jdk1.8.0_65.jdk/Contents/Home/bin/java'' finished with non-zero exit value 3
或值1
,我將不勝感激,如果有人幫我
謝謝它的工作 –