8000 Conflicting with Firebase · Issue #7 · Ubudu/Android-SDK · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Conflicting with Firebase #7

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
rafakob opened this issue Oct 20, 2017 · 1 comment
Open

Conflicting with Firebase #7

rafakob opened this issue Oct 20, 2017 · 1 comment

Comments

@rafakob
Copy link
rafakob commented Oct 20, 2017

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!

@MGasztold
Copy link
Contributor

Hello,
Thank you very much for that. I will update wiki soon!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
39AC
Projects
None yet
Development

No branches or pull requests

2 participants
0