When using as development, I sometimes encounter this error
Error:Execution failed for task ':app:preDexDebug'.
> com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process 'command 'D:\Program Files\Java\jdk\bin\java.exe'' finished with non-zero exit
value I don’t know. The solution is to add
defaultConfig {
multiDexEnabled true
} under android in gradle,
but I still don’t know what this attribute is for. Baidu said that it is subcontracting. We all know that the number of android methods is 65k, so here Set whether subcontracting is set to true, but I don't know if this is the right explanation. I hope you can reply me with your opinion. Thank you
http://www.mamicode.com/info-detail-1031299.html
Error:Execution failed for task ':app:preDexDebug'.
Guess you like
Origin http://10.200.1.11:23101/article/api/json?id=326614432&siteId=291194637
Recommended
Ranking