litesuits / android-lite-http

LiteHttp is a simple, intelligent and flexible HTTP framework for Android. With LiteHttp you can make HTTP request with only one line of code! It could convert a java model to the parameter and rander the response JSON as a java model intelligently.
http://litesuits.com?form=ghttp
Apache License 2.0
830 stars 347 forks source link

android studio 提示HttpCacheExpire.class重复 #22

Closed lyx32 closed 8 years ago

lyx32 commented 8 years ago

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

com.android.build.api.transform.TransformException: java.util.zip.ZipException: duplicate entry: com/litesuits/http/annotation/HttpCacheExpire.class

这个要怎么处理啊?弄的头都大了

lyx32 commented 8 years ago

我发现问题了, 原来在我引用的一个库里面,还有一个http-lite的jar

litesuits commented 8 years ago

ok