Java 错误:任务';的执行失败:应用程序:TransformClasses with Jarmergingfordebug';。com.android.build.api.transform

Java 错误:任务';的执行失败:应用程序:TransformClasses with Jarmergingfordebug';。com.android.build.api.transform,java,android,Java,Android,我面临着这个错误 错误:任务“:app:transformClassesWithJarMergingForDebug”的执行失败。 com.android.build.api.transform.TransformException:java.util.zip.zipeException:重复条目:com/android/volley/AuthFailureError.class 我在网上搜索以解决此问题,但我可以找到正确的解决方案,因此请提供代码帮助 我的梯度文件 apply plugin:

我面临着这个错误

错误:任务“:app:transformClassesWithJarMergingForDebug”的执行失败。 com.android.build.api.transform.TransformException:java.util.zip.zipeException:重复条目:com/android/volley/AuthFailureError.class

我在网上搜索以解决此问题,但我可以找到正确的解决方案,因此请提供代码帮助

我的梯度文件

apply plugin: 'com.android.application'android {
compileSdkVersion 23
buildToolsVersion "23.0.3"

defaultConfig {
    applicationId "com.strobilanthes.ftlogistics"
    minSdkVersion 15
    targetSdkVersion 23
    versionCode 1
    versionName "1.0"
    multiDexEnabled true

}
buildTypes {
    release {
        minifyEnabled false
        proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
    } }}dependencies {
compile 'com.android.support:multidex:1.0.1'
compile fileTree(dir: 'libs', include: ['*.jar'])
testCompile 'junit:junit:4.12'
compile 'com.android.support:appcompat-v7:23.1.1'
compile 'com.android.support:recyclerview-v7:23.1.1'
compile project(':beacon-keeper-library')
compile 'com.android.support:design:23.1.1'
compile 'com.google.android.gms:play-services:8.3.0'
compile ('io.socket:socket.io-client:0.7.0'){
    exclude group: 'org.json', module: 'json'
}
compile 'com.google.code.gson:gson:2.6.2'
compile 'joda-time:joda-time:2.9.3'
compile 'me.neavo:volley:2014.12.09'}

您的一些库是重复的。在您的库项目中也检查它