如题 刚用android studio 默认的项目运行起来是这个问题 本人写的运行起来还是这个问题
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 1
不知道从哪下手 有人知道是什么问题么 求高手帮忙
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 1
不知道从哪下手 有人知道是什么问题么 求高手帮忙
解决方案
40
That is because you enabled multiDex for release builds only, not for debug builds.
Try this:
defaultConfig {
multiDexEnabled true
}
Try this:
defaultConfig {
multiDexEnabled true
}