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

com.android.dex.DexException with Glide 4.1.0 and Android Studio Beta 4 #2322

Closed
colinrtwhite opened this issue Sep 3, 2017 · 3 comments
Closed

Comments

@colinrtwhite
Copy link
Contributor

Glide Version:
4.1.0

Integration libraries:
OKHttp3

Device/Android Version:
Any

Issue details / Repro steps / Use case background:
Upgrading to Glide 4.1.0 causes the following compile exception on Android Studio 3.0 Beta 4:

Execution failed for task ':app:transformDexArchiveWithDexMergerForDebug'.
> com.android.build.api.transform.TransformException: com.android.dex.DexException: Multiple dex files define Landroid/support/compat/R$drawable;

Downgrading to 4.0.0 fixes the issue. Here's a demo project.

@TWiStErRob
Copy link
Collaborator

Hmm, looks like ee8a8ed fixing a similar exception in #1972 is not complete. @sjudd **/R$*.class?

@TWiStErRob TWiStErRob added this to the 4.2 milestone Sep 3, 2017
@jaredsburrows
Copy link
Contributor

@sjudd
Copy link
Collaborator

sjudd commented Sep 4, 2017

Thanks for the sample app, very helpful. After 1325d87, I'm able to build the project. You can test this yourself by using the 4.2.0-SNAPSHOT version of Glide.

@sjudd sjudd modified the milestones: 4.1.1, 4.2 Sep 4, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants