用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
解决方案:40分
That is because you enabled multiDex for release builds only, not for debug builds.
Try this:
defaultConfig {
multiDexEnabled true
}