finished with non-zero exit value 2


Error:Execution failed for task ':phoneacompany:dexDebug'.java

> com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process 'command 'D:\softing\Java\jdk1.7.0_67\bin\java.exe'' finished with non-zero exit value 2android

===ide

出現這個是編譯的時候出現重複的jar包致使的。gradle

==spa

由於在主工程裏面有support-v4.jar,而子工程裏面也有,所以我在編譯的時候,把主工程不進行編譯。 ci

dependencies {      compile fileTree(dir: 'libs', include: '*.jar', exclude: 'android-support-v4.jar')    }it

相關文章
相關標籤/搜索