1
gradle:2.3.3
에서 gradle:3.0.1
으로 전환 한 후 dex 병합에 문제가 있습니다.오류 : ': app : transformDexArchiveWithExternalLibsDexMergerForDebug'작업에 대한 실행이 실패했습니다. dex를 병합 할 수 없습니다
Error:Execution failed for task ':app:transformDexArchiveWithExternalLibsDexMergerForDebug'.
> com.android.builder.dexing.DexArchiveMergerException: Unable to merge dex
여기 내 그라디언트입니다.
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 'com.android.support:appcompat-v7:25.4.0'
compile 'com.android.support:support-v4:25.4.0'
compile 'com.android.support:design:25.4.0'
compile 'com.google.android.gms:play-services-maps:11.6.0'
// Retrofit
compile 'com.squareup.retrofit2:retrofit:2.3.0'
compile 'com.squareup.retrofit2:converter-gson:2.2.0'
compile 'com.squareup.retrofit2:adapter-rxjava:2.0.2'
compile 'com.squareup.okhttp:okhttp:2.5.0'
compile 'com.squareup.okhttp:okhttp-urlconnection:2.0.0'
compile 'com.squareup.okhttp3:logging-interceptor:3.6.0'
// RX
compile 'com.netflix.rxjava:rxjava-android:0.16.1'
//Butterknife
compile 'com.jakewharton:butterknife:8.8.1'
annotationProcessor 'com.jakewharton:butterknife-compiler:8.8.1'
}
이 오류가 발생하는 이유는 누구입니까?