akexorcist / GoogleDirectionLibrary

[Android] Library for Google Direction API for Google Maps Android API v2
Apache License 2.0
571 stars 174 forks source link

dependencies problem #15

Closed shern91 closed 7 years ago

shern91 commented 8 years ago

Hi, i was following your tutorial this and github here. But when i try to run my gradle build have some error

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

com.android.build.api.transform.TransformException: java.util.zip.ZipException: duplicate entry: com/google/gson/annotations/Expose.class

but after i remove the "compile 'com.akexorcist:googledirectionlibrary:1.0.4'" and your code it was back to normal. How should i solve this?

Thank in advance

akexorcist commented 7 years ago

@shern91 I fixed this problem in version 1.0.5.

Thank you for your feedback