美文网首页
android studio 3.0的打包在混淆时报错The s

android studio 3.0的打包在混淆时报错The s

作者: _琳哥 | 来源:发表于2017-10-31 10:15 被阅读30次

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 前面增加一个#号注释掉

相关文章

网友评论

      本文标题:android studio 3.0的打包在混淆时报错The s

      本文链接:https://www.haomeiwen.com/subject/sjgvpxtx.html