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

2017-10-31  本文已影响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 前面增加一个#号注释掉
上一篇 下一篇

猜你喜欢

热点阅读