标签:
com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process ‘command ‘/Library/Java/JavaVirtualMachines/jdk1.7.0_79.jdk/Contents/Home/bin/java‘‘ finished with non-zero exit value 2
解决:
build.gradle中添加:
defaultConfig {
multiDexEnabled true
}
compile ‘com.android.support:multidex:1.0.1‘
application中添加:
@Override
protected voidattachBaseContext(Context base) {
super.attachBaseContext(base);
MultiDex.install(this);
}
Error:Execution failed for task ':app:dexDebug'.
标签:
原文地址:http://www.cnblogs.com/xxwn/p/5779462.html