eclipse迁移as 混淆打包出错

来源:互联网 发布:日文手写输入在线软件 编辑:程序博客网 时间:2024/06/14 09:34

eclipse的项目迁移到as后, 打包时出现 java.io.IOException: The same input jar is specified twice异常.

原因

dependencies {    compile fileTree(include: '*.jar', dir: 'libs')

}

里面已经添加过jar包,混淆文件proguard-rules.pro里面又加了句-libraryjars libs/***.jar,将-libraryjars libs/***.jar 前面用#号注释或者直接删掉即可。

0 0