android studio 3.0的打包在混淆时报错The same input jar xxx.jar is specified twice


The same input jar xxx.jar is specified twice

出现的报错信息
ProGuard, version 5.3.3
Warning: Exception while processing task java.io.IOException: The same input jar [E:\work\app\branch\LyyGameNew\lytsdk\libs\71ChatSDk-1.0.jar] is specified twice.

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':app:transformClassesAndResourcesWithProguardForRelease'.
> Job failed, see logs for details

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

* Get more help at https://help.gradle.org

BUILD FAILED in 27s
129 actionable tasks: 118 executed, 11 up-to-date

E:\work\app\branch\LyyGameNew>
我的解决方式
在-libraryjars ../lytsdk/libs/71ChatSDk-1.0.jar 前面增加一个#号注释掉
最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容