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

ZipException:重复条目:com/google/android/gms/internal/measurement/zzabn.class

璩珂
2023-03-14
apply plugin: 'com.android.application'

android {
compileSdkVersion 26
buildToolsVersion '26.0.2'

defaultConfig {
    applicationId "com.jhaider.livefootballmatchesofworldcup"
    minSdkVersion 16
    targetSdkVersion 25
    versionCode 1
    versionName "1.0"
    multiDexEnabled true
}

packagingOptions {
    exclude 'META-INF/maven/com.squareup.okhttp3/okhttp/pom.properties'
    exclude 'META-INF/maven/com.squareup.okio/okio/pom.xml'
    exclude 'META-INF/maven/com.squareup.okhttp3/okhttp/pom.xml'
    exclude 'META-INF/maven/com.squareup.okio/okio/pom.properties'


    exclude 'META-INF/DEPENDENCIES.txt'
    exclude 'META-INF/LICENSE.txt'
    exclude 'META-INF/maven/pom.properties'
    exclude 'META-INF/NOTICE.txt'
    exclude 'META-INF/NOTICE'
    exclude 'META-INF/LICENSE'
    exclude 'META-INF/DEPENDENCIES'
    exclude 'META-INF/notice.txt'
    exclude 'META-INF/license.txt'
    exclude 'META-INF/dependencies.txt'
    exclude 'META-INF/LGPL2.1'
    exclude 'META-INF/gson/FieldAttributes.class'
    exclude '.readme'


}

dexOptions {
    javaMaxHeapSize "4g"
}

buildTypes {
    release {
        minifyEnabled false
        useProguard false
        proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
    }
}

flavorDimensions "app-type"
productFlavors {
    live1016 {
        applicationId "com.jhaider.livefootballmatchesofworldcup"
        minSdkVersion 16
        targetSdkVersion 25
        versionCode 1
        versionName "1.0"
        dimension "app-type"
    }

    videohighlights {
        applicationId "com.jhaider.livefootballmatchesofworldcup.videohighlights"
        minSdkVersion 16
        targetSdkVersion 25
        versionCode 1
        versionName "1.0"
        dimension "app-type"
    }
}
    videohighlights {
        java {
            srcDir 'src/videohighlights/java'
        }
        resources {
            srcDir 'src/videohighlights/res'
        }
    }

}

依赖关系{compile fileTree(include:['*.jar'],dir:'libs')testCompile'junit:junit:4.12'

compile 'com.android.support:appcompat-v7:26.1.0'
compile 'com.android.support:design:26.1.0'
compile 'com.android.support:recyclerview-v7:26.1.0'
compile 'com.google.firebase:firebase-invites:15.0.0'   
compile 'com.google.firebase:firebase-messaging:15.0.0'
compile 'com.google.firebase:firebase-ads:15.0.0'
compile 'com.google.firebase:firebase-auth:15.0.0'

compile 'com.google.firebase:firebase-core:15.0.0'

编译'com.firebaseui:firebase-ui-auth:3.2.2'

compile ('com.google.android.gms:play-services-auth:15.0.0'){

    force=true
}
compile ('com.google.android.gms:play-services-location:15.0.0'){

    force=true
}
compile project(':StartAppInApp-3.6.7')

compile 'com.google.code.gson:gson:2.6.2'
compile 'com.squareup.okhttp3:okhttp:3.3.0'
compile 'org.jsoup:jsoup:1.9.2'
compile 'com.squareup.picasso:picasso:2.5.2'

}

暂时还没有答案

 类似资料: