重复条目:com / google / android / gms / internal / zzfj.class

时间:2017-08-15 14:52:17

标签: java android

请帮帮我:这是错误的屏幕截图:

enter image description here

错误:任务':app:transformClassesWithJarMergingForDebug'执行失败。

  

com.android.build.api.transform.TransformException:java.util.zip.ZipException:重复条目:com / google / android / gms / internal / zzfj.class] 1] {{3} }

Gradle文件:1

apply plugin: 'com.android.application'

android {
    compileSdkVersion 25
    buildToolsVersion "25.0.2"

    useLibrary 'org.apache.http.legacy'


    defaultConfig {
        multiDexEnabled true
        applicationId "aa.bb"
        manifestPlaceholders = [onesignal_app_id               : "xxx",
                                // Project number pulled from dashboard, local value is ignored.
                                onesignal_google_project_number: "REMOTE"]

        minSdkVersion 18
        targetSdkVersion 25
        versionCode 1
        versionName "1.0"
        testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
    }
    buildTypes {
        release {
            minifyEnabled false
            proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
        }
    }
}

repositories {
    mavenCentral()
    maven {
        url "https://jitpack.io"
    }
    maven {
        url "https://mint.splunk.com/gradle/"
    }

}

dependencies {
    compile fileTree(include: ['*.jar'], dir: 'libs')
    androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', {
        exclude group: 'com.android.support', module: 'support-annotations'
    })

    compile project(':ResideMenu')




    compile 'com.google.android.gms:play-services-ads:11.0.4'
    compile 'com.android.support:appcompat-v7:25.3.1'
    compile 'com.android.support.constraint:constraint-layout:1.0.2'
    compile 'com.android.support:design:25.3.1'
    compile 'com.android.support:cardview-v7:25.3.1'
    compile 'com.mcxiaoke.volley:library-aar:1.0.0'
    compile 'com.android.support:recyclerview-v7:25.3.1'
    compile 'com.onesignal:OneSignal:[3.5.3,4.0.0)'
    compile 'com.squareup.picasso:picasso:2.3.2'
    compile 'org.apmem.tools:layouts:1.10@aar'
    compile 'com.github.bumptech.glide:glide:3.7.0'
    compile 'com.splunk.mint:mint:5.0.0'
    compile 'com.android.support:multidex:1.0.1'
    compile 'com.github.siyamed:android-shape-imageview:0.9.+@aar'
    compile 'com.github.justzak:dilatingdotsprogressbar:1.0.1'
    compile 'com.kaopiz:kprogresshud:1.1.0'
    testCompile 'junit:junit:4.12'
}

0 个答案:

没有答案