问题描述:
* What went wrong:
Execution failed for task ':app:transformClassesWithJarMergingForDDDDDebug'.
> com.android.build.api.transform.TransformException: java.util.zip.ZipException: duplicate entry: com/stx/xhb/xbanner/BuildConfig.class
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
debug可以生成apk ,但是 release 的时候出现问题,产生的原因就是 xbanner没有进行混淆导致的.
本文描述了在Android项目中,使用release配置构建时遇到的问题,具体表现为'com.stx.xhb.xbanner.BuildConfig.class'重复导致的构建失败。文章探讨了问题的根本原因在于xbanner库未进行混淆,并提供了解决方案。
1万+

被折叠的 条评论
为什么被折叠?



