Hi Everybody
I have an issue... i have devellop an andoid project wich uses retrofit...
in the goal to create a module to that projet, i create a module. this 
module got to use same jar file as the app module.
In this module build.gradle, dependencies scope, i wrote : compile fileTree(
dir: new File(project(':app').projectDir, 'libs'), include: ['*.jar']) ;

but when trying to test, i got this message :

Execution failed for task ':app:transformClassesWithJarMergingForDebug'.
> com.android.build.api.transform.TransformException: 
java.util.zip.ZipException: duplicate entry: 
retrofit2/converter/gson/GsonConverterFactory.class

can you help me.?

-- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/android-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/aeff0b09-0ffa-40e9-9c53-5ec0fcfef37b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to