标签:
Error:Execution failed for task ‘:phoneacompany:dexDebug‘.
> 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 2
===
出现这个是编译的时候出现重复的jar包导致的。
==
因为在主工程里面有support-v4.jar,而子工程里面也有,因此我在编译的时候,把主工程不进行编译。
dependencies { compile fileTree(dir: ‘libs‘, include: ‘*.jar‘, exclude: ‘android-support-v4.jar‘) }
finished with non-zero exit value 2
标签:
原文地址:http://my.oschina.net/polarw/blog/494046