当我们看到这个异常的时候
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这个类是在哪一个包中,不出意外,在你的依赖项目里面有一个相同的类,我们只需要把其中一个删除就好了