androidStudio com.android.build.api.transform.TransformException解决方案

来源:互联网 发布:淘宝新开店如何推广 编辑:程序博客网 时间:2024/04/28 20:59

当我们看到这个异常的时候

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

> com.android.build.api.transform.TransformException: java.util.zip.ZipException: duplicate entry: com/dot/autoupdater/AfinalHttp/AbstractCollection.class

先查找com/dot/autoupdater/AfinalHttp/AbstractCollection.class这个类是在哪一个包中,不出意外,在你的依赖项目里面有一个相同的类,我们只需要把其中一个删除就好了


1 2
原创粉丝点击