重复条目:androidsupportdesignwidgetCoordinatorLayout

重复条目:androidsupportdesignwidgetCoordinatorLayout,第1张

概述我正在尝试创建已签名的APK,但最后会出现错误: Error:Execution failed for task ‘:app:transformClassesWithJarMergingForRelease’. com.android.build.api.transform.TransformException: java.util.zip.ZipException: duplicate entr 我正在尝试创建已签名的APK,但最后会出现错误:

Error:Execution Failed for task ‘:app:transformClassesWithJarMergingForRelease’.
com.android.build.API.transform.transformException: java.util.zip.ZipException: duplicate entry: androID/support/design/Widget/CoordinatorLayout$1.class

apply plugin: 'com.androID.application'apply plugin: 'com.jakewharton.butterknife'buildscript {    repositorIEs {        maven { url "https://github.com/omadahealth/omada-nexus/raw/master/release" }        maven { url "https://jitpack.io" }    }    dependencIEs {    }}androID {    signingConfigs {        config {        }    }    lintoptions {        abortOnError false    }    dataBinding {        enabled = true    }    compileSdkVersion 27    buildToolsversion '27.0.3'    defaultConfig {        applicationID "com.myandroIDapp.androID"        minSdkVersion 17        targetSdkVersion 27        versionCode 5        versionname "1.3"        multIDexEnabled true    }    buildTypes {        release {            ext.enableCrashlytics = true            //shrinkResources false            //MinifyEnabled false            proguardfiles getDefaultProguardfile('proguard-androID.txt'),'proguard-rules.pro'            //deBUGgable false            //jnIDeBUGgable false            signingConfig signingConfigs.config            //zipAlignEnabled true        }        deBUG {            //deBUGgable true            ext.enableCrashlytics = true            //MinifyEnabled false            //shrinkResources false            //renderscriptDeBUGgable false            //jnIDeBUGgable false            proguardfiles 'proguard-rules.txt'            //signingConfig signingConfigs.deBUG        }    }    packagingOptions {        exclude 'meta-inf/services/javax.annotation.processing.Processor'        exclude 'meta-inf/**'        exclude 'meta-inf/**'    }    compileOptions {        sourceCompatibility JavaVersion.VERSION_1_8        targetCompatibility JavaVersion.VERSION_1_8    }}repositorIEs {    mavenCentral()    jcenter()}androID {    dexOptions {        jumboMode = true        javaMaxHeapSize "4g"    }}dependencIEs {    compile filetree(include: ['*.jar'],dir: 'libs')    // Navigation Drawer library    compile('com.mikepenz:materialdrawer:5.3.0@aar') {        transitive = true    }    //Google,Inc (Play services) librarIEs    implementation 'com.Google.androID.gms:play-services-places:11.8.0'    implementation 'com.Google.androID.gms:play-services-maps:11.8.0'    implementation 'com.Google.androID.gms:play-services-location:11.8.0'    implementation 'com.Google.androID.gms:play-services-ads:11.8.0'    implementation 'com.Google.androID.gms:play-services-auth:11.8.0'    implementation 'com.Google.firebase:firebase-core:11.8.0'    implementation 'com.Google.firebase:firebase-database:11.8.0'    implementation 'com.Google.firebase:firebase-crash:11.8.0'    implementation 'com.Google.firebase:firebase-auth:11.8.0'    implementation 'com.Google.firebase:firebase-messaging:11.8.0'    implementation 'com.Google.firebase:firebase-storage:11.8.0'    implementation 'com.Google.firebase:firebase-config:11.8.0'    implementation 'com.Google.firebase:firebase-appindexing:11.8.0'    implementation 'com.Google.androID.gms:play-services-appinvite:11.8.0'    //Google,Inc (Firebase) librarIEs    implementation 'com.firebase:firebase-jobdispatcher:0.6.0'    implementation 'com.firebaseui:firebase-ui-database:2.3.0'    implementation 'com.firebase:geofire-androID:2.1.2'    // Google,Inc (Support) librarIEs    implementation 'com.androID.support:support-v13:27.0.2'    //implementation 'com.androID.support:customtabs:27.0.2'    implementation 'com.androID.support:cardvIEw-v7:27.0.2'    implementation 'com.androID.support:support-v4:27.0.2'    implementation 'com.androID.support:design:27.0.2'    implementation 'com.androID.support:appcompat-v7:27.0.2'    implementation 'com.androID.support:multIDex:1.0.2'    implementation 'com.androID.support:palette-v7:27.0.2'    implementation 'com.androID.support:support-vector-drawable:27.0.2'    //implementation 'com.androID.support.constraint:constraint-layout:1.0.2'    // Facebook,Inc SDKs    implementation 'com.facebook.androID:facebook-android-sdk:4.29.0'    // librarIEs for images    implementation 'de.hdodenhof:circleimagevIEw:2.1.0'    implementation 'com.github.bumptech.glIDe:glIDe:3.8.0'    implementation 'com.lorentzos.swipecards:library:1.0.9'    implementation 'com.skyfishjy.ripplebackground:library:1.0.1'    implementation 'com.vanniktech:emoji-twitter:0.5.1'    implementation 'com.theartofdev.edmodo:androID-image-cropper:2.6.0'    implementation 'com.github.yalantis:ucrop:2.2.1'    implementation 'com.github.jkwIEcIEn:EasyImage:1.3.1'    implementation 'jp.wasabeef:picasso-transformations:2.1.2'    implementation 'com.squareup.picasso:picasso:2.5.2'    // Location Helper library    implementation 'com.squareup.retrofit2:retrofit:2.2.0'    implementation 'com.squareup.retrofit:converter-gson:2.0.0-beta1'    // Time library    implementation 'joda-time:joda-time:2.9.9'    implementation 'org.ocpsoft.prettytime:prettytime:4.0.1.Final'    // Others    // event bus    implementation 'org.greenrobot:eventbus:3.0.0'    implementation 'com.jakewharton:butterknife:8.8.1'    implementation 'com.flipboard:bottomsheet-core:1.5.3'    implementation 'com.flipboard:bottomsheet-commons:1.5.3'    implementation 'com.greysonparrelli.permiso:permiso:0.3.0'    implementation 'com.Googlecode.libphonenumber:libphonenumber:8.5.2'    implementation 'com.airbnb.androID:lottIE:2.2.5'    annotationProcessor 'com.jakewharton:butterknife-compiler:8.8.1'}apply plugin: 'com.Google.gms.Google-services'
解决方法 这可能是由于使用的支持库的不同版本.
在build.gradle中添加以下内容
configurations.all {   resolutionStrategy {       force 'com.androID.support:design:27.0.2'       force 'com.androID.support:support-v4:27.0.2'       force 'com.androID.support:appcompat-v7:27.0.2'   }}
总结

以上是内存溢出为你收集整理的重复条目:android / support / design / widget / CoordinatorLayout全部内容,希望文章能够帮你解决重复条目:android / support / design / widget / CoordinatorLayout所遇到的程序开发问题。

如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。

欢迎分享,转载请注明来源:内存溢出

原文地址: http://outofmemory.cn/web/1149293.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2022-05-31
下一篇 2022-05-31

发表评论

登录后才能评论

评论列表(0条)

保存