-
Notifications
You must be signed in to change notification settings - Fork 12
com.android.builder.dexing.DexArchiveMergerException: Unable to merge dex #21
Comments
Fixed by excluding the okhttp library from other imports
|
It worked with packagingOptions{ exclude 'META-INF/rxjava.properties' } added to gradle file. |
I have the same problem, I tested both options: and packagingOptions{ exclude 'META-INF/rxjava.properties' } None worked for me. This is my gradle file: apply plugin: 'com.android.application' android {
} dependencies { apply plugin: 'com.google.gms.google-services' |
Try something like below: |
This library produces next error when added to gradle:
Error:Execution failed for task ':app:transformDexArchiveWithExternalLibsDexMergerForDebug'.
Android Studio 3.0
this is my gradle file:
dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation 'com.android.support:appcompat-v7:26.1.0'
implementation 'com.android.support:design:26.1.0'
compile "org.jetbrains.kotlin:kotlin-stdlib-jre7:$kotlin_version"
compile "org.jetbrains.anko:anko:$anko_version"
implementation 'com.parse:parse-android:1.16.3'
implementation 'com.github.tgio:parse-livequery:1.0.3'
}
The text was updated successfully, but these errors were encountered: