Eclipse混淆文件导入Android Studio Gradle编译报input jar file is specified twice
来源:互联网 发布:永恒之塔模拟器源码 编辑:程序博客网 时间:2024/06/07 16:02
Eclipse项目中的混淆配置文件 复制到AS中 在混淆的过程中提示如下错误
Error:Execution failed for task ':app:proguardDemoRelease'.> java.io.IOException: The same input jar [D:\Users\workspace_studio\Test5\app\libs\fastjson.jar] is specified twice.
解决方案:
删除 -libraryjars libs/***.jar
from your proguard-rules.pro file.
原因是build.gradle文件配置了
dependencies { compile fileTree(include: '*.jar', dir: 'libs')
}
里面已经添加过jar包,混淆文件proguard-rules.pro里面又加了句-libraryjars libs/***.jar,将-libraryjars libs/***.jar 前面用#号注释或者直接删掉即可。
9 1
- Eclipse混淆文件导入Android Studio Gradle编译报input jar file is specified twice
- Eclipse移植Android Studio Gradle编译报Execution failed for task 文件混淆错误input jar file is specified twice
- Android Studio 代码混淆Gradle编译报input jar file is specified twice
- Android Studio Gradle编译报input jar file is specified twice
- Android Studio Gradle编译报input jar file is specified twice
- android studio 代码混淆打包错误 The same input jar is specified twice
- android studio 代码混淆打包错误 The same input jar is specified twice
- Android Studio 发布APK时报错:input jar file is specified twice
- Android Studio 'The same input jar is specified twice'
- android studio 代码混淆如何忽略第三方jar包 The same input jar is specified twice
- AndroidApk混淆编译时,报告java.io.IOException: The same input jar[xxx/xxx.jar]is specified twice.
- 关于Android Studio 打包出现 The same input jar is specified twice 的解决办法
- The same input jar ***.jar is specified twice
- java.io.IOException: The same input jar [***\libs\android-support-v4.jar] is specified twice
- java.io.IOException: The same input jar is specified twice.
- java.io.IOException: The same input jar is specified twice”
- The same input jar is specified twice 解决办法
- 解决 The same input jar is specified twice 问题
- xcache加速php
- UVa 1225 Digit Counting(数字统计)
- java自学日记二
- CSS3 Transition
- grub2 设置启动引导 Fedora 21 Workstation Live iso
- Eclipse混淆文件导入Android Studio Gradle编译报input jar file is specified twice
- CSS3 Transform
- LEETCODE: Trapping Rain Water
- 用win7搭建基于IIS的web服务器
- PCI9052使用理解及与DSP6713的接口
- SQLiteDatabase中query、insert、update、delete方法参数说明 (2012-08-10 10:30:41)转载▼ 标签: android database sqlite
- 转:标准C++中的string类的用法总结
- CSS3 Animation
- Mysql启动时出现1067,进程意外终止解决方法