大家好,
自从eclipse移转到android studio后就从没编译成功过
不断出现java.util.zip.ZipException的错误
如:
Error:Execution failed for task
':app:transformClassesWithJarMergingForRelease'.
> com.android.build.api.transform.TransformException:
java.util.zip.ZipException: duplicate entry:
org/apache/http/ConnectionClosedException.class
我的dependencies:
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
compile 'com.google.android.gms:play-services-location:9.0.2'
compile 'com.android.support:multidex:1.0.1'
compile 'com.android.support:support-v4:23.0.0'
compile 'com.android.support:appcompat-v7:23.0.0'
compile
'org.jbundle.util.osgi.wrapped:org.jbundle.util.osgi.wrapped.org.apache.http.client:4.1.2'
compile 'org.apache.httpcomponents:httpcore:4.4.5'
compile 'org.apache.httpcomponents:httpmime:4.5.2'
}
要如何找出重复的档案? 位置在哪? 如何处置重复的档案?
烦恼已久
谢谢大家!