当前位置: 首页 > 知识库问答 >
问题:

zipException:重复条目:[duplicate]

百里胜泫
2023-03-14

错误:任务“:DrivermaticsApp:PackageAllDebugClassesFormultiDex”执行失败。

zipException:重复条目:com/flurry/sdk/jv$a.class

请帮忙...

这是我的建筑。格雷德尔:-

    android {
compileSdkVersion 22
buildToolsVersion "22.0.1"
packagingOptions{
    exclude("META.INF/LICENSE.txt")
    exclude("META.INF/README.txt")
}

lintOptions{
    checkReleaseBuilds false
    abortOnError false
}
defaultConfig {
    compileOptions.encoding = 'windows-1251'
    applicationId "com.appname.android"
    minSdkVersion 11
    targetSdkVersion 17
    // Enabling multidex support.
    multiDexEnabled true
}
dexOptions {
    incremental false
    javaMaxHeapSize "4g"
}
buildTypes {
    release {
        minifyEnabled false
        proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt'
    }
}
}

dependencies { 
compile project(':facebookSDK') 
compile fileTree(dir:'libs',include:'*.jar')
compile 'com.google.code.gson:gson:2.3' 
compile 'com.jakewharton:butterknife:6.0.0'
compile 'com.squareup.picasso:picasso:2.5.2' 
compile 'org.twitter4j:twitter4j-core:4.0.4' 
compile 'com.android.support:appcompat-v7:21.0.3' 
compile 'com.google.android.gms:play-services-plus:7.5.0' 
compile 'com.google.android.gms:play-services-maps:7.5.0' 
compile 'com.google.android.gms:play-services-ads:7.5.0'

}

共有1个答案

劳麒
2023-03-14

compile'com.android.support-v4:22.1.1'编译('com.android.support:appcompat-v7:22.1.1'){排除模块:'support-v4'}编译('com.facebook.android:facebook-android-sdk:4.2.0'){排除模块:'support-v4'}

 类似资料: