Skip to content
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

Gilde library error when using AutocompleteSupportFragment (Google) #69

Open
abroresonaliev opened this issue May 13, 2019 · 4 comments

Comments

@abroresonaliev
Copy link

abroresonaliev commented May 13, 2019

In project I use kotlin and android X.

After adding AutoCompleteSupportFragment

implementation 'com.google.firebase:firebase-core:16.0.9'    
   
implementation 'com.google.android.libraries.places:places:1.1.0'

on building showing next error.
If I remove Android-Rich-text-Editor library not showing error.

  • Duplicate class com.bumptech.glide.GeneratedAppGlideModule found in modules classes.jar (com.github.bumptech.glide:glide:4.3.1) and jetified-glide-4.3.1.jar (com.github.bumptech.glide:glide:4.3.1)

  • Duplicate class com.bumptech.glide.GenericTransitionOptions found in modules classes.jar (com.github.bumptech.glide:glide:4.3.1) and jetified-glide-4.3.1.jar (com.github.bumptech.glide:glide:4.3.1)

  • Duplicate class com.bumptech.glide.Glide found in modules classes.jar (com.github.bumptech.glide:glide:4.3.1) and jetified-glide-4.3.1.jar (com.github.bumptech.glide:glide:4.3.1)

  • Duplicate class com.bumptech.glide.GlideBuilder found in modules classes.jar (com.github.bumptech.glide:glide:4.3.1) and jetified-glide-4.3.1.jar (com.github.bumptech.glide:glide:4.3.1)

  • Duplicate class com.bumptech.glide.GlideBuilder$1 found in modules classes.jar (com.github.bumptech.glide:glide:4.3.1) and jetified-glide-4.3.1.jar (com.github.bumptech.glide:glide:4.3.1)

  • Duplicate class com.bumptech.glide.GlideContext found in modules classes.jar (com.github.bumptech.glide:glide:4.3.1) and jetified-glide-4.3.1.jar (com.github.bumptech.glide:glide:4.3.1)

  • Duplicate class com.bumptech.glide.ListPreloader found in modules classes.jar (com.github.bumptech.glide:glide:4.3.1) and jetified-glide-4.3.1.jar (com.github.bumptech.glide:glide:4.3.1)

@chinalwb
Copy link
Owner

Did you try to clean and rebuild you app?

@abroresonaliev
Copy link
Author

Did you try to clean and rebuild you app?

yes, more time

@chinalwb
Copy link
Owner

Do you have jetified-glide-4.3.1.jar in your project already?

@chinalwb
Copy link
Owner

+--- com.google.android.libraries.places:places:1.0.0
|    +--- com.android.support:appcompat-v7:26.1.0 (*)
|    +--- com.android.support:cardview-v7:26.1.0
|    |    \--- com.android.support:support-annotations:26.1.0
|    +--- com.android.support:recyclerview-v7:26.1.0 (*)
|    +--- com.android.support:support-v4:26.1.0 (*)
|    +--- com.android.volley:volley:1.1.1
|    +--- com.github.bumptech.glide:glide:4.3.1
|    |    +--- com.github.bumptech.glide:gifdecoder:4.3.1
|    |    |    \--- com.android.support:support-annotations:26.0.2 -> 26.1.0
|    |    +--- com.github.bumptech.glide:disklrucache:4.3.1
|    |    \--- com.github.bumptech.glide:annotations:4.3.1

As far as I can tell, com.google.android.libraries.places:places depends on glide, and are depends on glide too, somehow the compiler thinks they are conflict, sorry that I have no better idea than you'll have to checkout are and change the dependency from com.github.bumptech.glide:glide:4.3.1 to com.google.android.libraries.places:places.

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

No branches or pull requests

2 participants