错误:TransformException:java.util.zip.zipeException:重复条目:android/support/v4/app/taskstackerbuilderhoneycomb.class

错误:TransformException:java.util.zip.zipeException:重复条目:android/support/v4/app/taskstackerbuilderhoneycomb.class,java,android,android-studio,gradle,android-support-library,Java,Android,Android Studio,Gradle,Android Support Library,我在gradle build中遇到一个错误: Error:Execution failed for task ':app:transformClassesWithJarMergingForDebug'. com.android.build.api.transform.TransformException:java.util.zip.zipeException:重复条目:android/support/v4/app/taskstackerbuilderhoneycomb.class 在我的应用

我在gradle build中遇到一个错误:

Error:Execution failed for task ':app:transformClassesWithJarMergingForDebug'.
com.android.build.api.transform.TransformException:java.util.zip.zipeException:重复条目:android/support/v4/app/taskstackerbuilderhoneycomb.class

在我的应用程序依赖项中:


请帮助我。

尝试从build.gradle文件中删除
编译文件(libs/appcompat-v4)
依赖项,因为它是重复的依赖项。

我使用编译文件('libs/android-support-v4.jar'),而不使用jar。使用渐变依赖项。
dependencies {
compile fileTree(include: ['*.jar'], dir: 'libs')
androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2',{
})
//testCompile 'junit:junit:4.12'
compile 'com.android.support:appcompat-v7:24.2.1'
compile 'com.android.support:design:24.2.1'
compile 'de.hdodenhof:circleimageview:1.3.0'
androidTestCompile 'com.android.support:support-annotations:24.2.1'
//compile 'com.google.android.gms:play-services-maps:9.6.1'
compile files('libs/universal-image-loader-1.8.4-with-sources.jar')
compile files('libs/org.apache.http.legacy.jar')
compile 'com.android.support:support-vector-drawable:24.2.1'
compile 'com.android.support:multidex:1.0.0'
//compile 'com.android.support:support-v4:24.2.1'
compile 'com.android.support:support-v13:24.2.1'
//compile files('libs/android-support-v4.jar')}