这是运行时错误转换DexArchive与外部库

时间:2018-03-13 11:04:46

标签: android

这是运行时错误

  

错误:任务':app:transformDexArchiveWithExternalLibsDexMergerForDebug'执行失败。   java.lang.RuntimeException:java.lang.RuntimeException:com.android.builder.dexing.DexArchiveMergerException:无法合并dex

这是构建apk依赖项

dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
//noinspection GradleCompatible
implementation 'com.android.support:appcompat-v7:26.1.0'
implementation 'com.android.support.constraint:constraint-layout:1.0.2'
implementation 'com.android.support:support-vector-drawable:26.1.0'
implementation 'com.android.support:support-v4:26.1.0'
testImplementation 'junit:junit:4.12'
androidTestImplementation 'com.android.support.test:runner:1.0.1'
androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.1'
compile 'com.stepstone.apprating:app-rating:2.2.0'
compile 'com.github.d-max:spots-dialog:0.7@aar'
compile 'io.paperdb:paperdb:2.6'
compile 'com.github.rey5137:material:1.2.4'

//compile ('com.facebook.android:facebook-share:[4,5)')
compile 'info.hoang8f:fbutton:1.0.5'
// implementation 'com.firebaseui:firebase-ui-database:11.8.0'
//noinspection GradleCompatible
// compile 'com.google.firebase:firebase-auth:11.8.0'
// implementation 'com.firebaseui:firebase-ui-storage:11.8.0'
compile 'com.firebaseui:firebase-ui:0.4.0'
compile 'com.google.firebase:firebase-storage:9.0.0'
compile 'com.android.support:design:26.1.0'
compile 'com.rengwuxian.materialedittext:library:2.1.4'
compile 'com.android.support:cardview-v7:26.1.0'
compile 'com.android.support:recyclerview-v7:26.1.0'
compile 'com.squareup.picasso:picasso:2.1.0'
compile 'de.hdodenhof:circleimageview:2.2.0'
compile 'com.theartofdev.edmodo:android-image-cropper:2.6.+'

compile 'com.amulyakhare:com.amulyakhare.textdrawable:1.0.1'
compile 'com.readystatesoftware.sqliteasset:sqliteassethelper:+'
}
apply plugin: 'com.google.gms.google-services'

0 个答案:

没有答案