Open
Description
Hello!
I'm using Firebase in my application and it seems that it is conflicting with the UbuduSDK dependency. Here's my Gradle (clean project):
dependencies {
implementation "org.jetbrains.kotlin:kotlin-stdlib-jre7:$kotlin_version"
implementation 'com.android.support:appcompat-v7:26.1.0'
implementation 'com.google.firebase:firebase-messaging:11.4.2'
implementation('com.ubudu.sdk:ubudu-sdk:2.7.3@aar') { transitive = true }
}
If you try to compile this you will receive an error:
Error:Execution failed for task ':app:transformDexArchiveWithExternalLibsDexMergerForDebug'.
> java.lang.RuntimeException: java.lang.RuntimeException: com.android.builder.dexing.DexArchiveMergerException: Unable to merge dex
And Android Studio will pup up a warning next to the Firebase dependency:
All gms/firebaselibraries must use the same version specification
The problem is that UbuduSDK uses GMS version 10.2.1 and Firebase version 11.4.2.
So in order to make thing work add explicitly those dependencies which are used by Ubudu in newer version:
implementation 'com.google.android.gms:play-services-base:11.4.2'
implementation 'com.google.android.gms:play-services-location:11.4.2'
and the conflict will be resolved.
Please update your Wiki!