Glide: I meet a problem

Created on 11 May 2016  路  3Comments  路  Source: bumptech/glide

Hello,When I compile the program,I meet a trouble.

The compiler remind me of:

Error:Execution failed for task ':app:transformClassesWithJarMergingFor_DebugDebug'.

com.android.build.api.transform.TransformException: java.util.zip.ZipException: duplicate entry: com/bumptech/glide/gifdecoder/GifDecoder$BitmapProvider.class

Glide Version: 3.7.0

I hope you can reply me ,Thank you very much.

non-library question

Most helpful comment

The trouble had resolved.Thank you everyone.The reason is gradle dependencies are repeated.

All 3 comments

Maybe your other module has glide dependency, that collide with this glide dependency?

Hmm, first would be gradle clean and then delete all build folders (from project root, app folder and all other subprojects you may have). If that doesn't help check out gradle dependencies, that _DebugDebug looks weird to me it was always debugCompile (not sure if 2.0 changed it though).

Please list your build.gradle dependencies and project structure if none of the above helps.

The trouble had resolved.Thank you everyone.The reason is gradle dependencies are repeated.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

mttmllns picture mttmllns  路  3Comments

FooBarBacon picture FooBarBacon  路  3Comments

r4m1n picture r4m1n  路  3Comments

piedpiperlol picture piedpiperlol  路  3Comments

Ncit picture Ncit  路  3Comments