sumup / sumup-android-sdk

Sample App for the SumUp Android SDK
Other
105 stars 28 forks source link

Conflict with Dagger2 in build.gradle #37

Closed arlindiDev closed 6 years ago

arlindiDev commented 6 years ago

After I add dagger2 as a dependency in app/build.gradle

implementation('com.sumup:merchant-sdk:2.3.0') {
        transitive = true
}

implementation 'com.google.dagger:dagger :2.14.1'
annotationProcessor 'com.google.dagger:dagger-compiler:2.14.1'

I also have multiDexEnabled = true

The project build successfully, but when I run the project I get

Error:Execution failed for task ':app:transformDexArchiveWithExternalLibsDexMergerForDevelopDebug'
 >com.android.builder.dexing.DexArchiveMergerException: Unable to merge dex
vfoixcable commented 6 years ago

already fixed as part of SDK 2.4.0 -- https://github.com/sumup/sumup-android-sdk/releases/tag/v2.4.0