Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DnsException 出现 ZipException 运行时异常 #3

Closed
cxyxlxdm opened this issue Dec 1, 2015 · 2 comments
Closed

DnsException 出现 ZipException 运行时异常 #3

cxyxlxdm opened this issue Dec 1, 2015 · 2 comments

Comments

@cxyxlxdm
Copy link

cxyxlxdm commented Dec 1, 2015

编译 OK,无法打包。

Error:Execution failed for task ':app:transformClassesWithJarMergingForOfficialDebug'.
> com.android.build.api.transform.TransformException: java.util.zip.ZipException: duplicate entry: com/qiniu/android/dns/DnsException.class
@longbai
Copy link
Contributor

longbai commented Dec 1, 2015

哦,被重复打包了,麻烦看下 是否有其他项目 包含了

@cxyxlxdm
Copy link
Author

cxyxlxdm commented Dec 1, 2015

之前是一直没问题,然后升级 Android Studio 2.0 ,更改了几个不相关的文件,就出现这种情况,clean,rebuild,一直不行。目测可能是 AS 2.0 的 bug ,删了 project 的 happy-dns 的依赖,再删了 happy-dns 的 jar 包,gradle resync,extended libraries 里仍然有 happy-dns 库...应该不是 happy-dns 的问题,关了 issue 吧。

@longbai longbai closed this as completed Dec 24, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants