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 前面用#号注释或者直接删掉即可。