Proguard returned with error code 1. See console
来源:互联网 发布:手机雨滴软件 编辑:程序博客网 时间:2024/05/17 04:30
[2012-04-17 22:20:48 - projectname] Proguard returned with error code 1. See console
[2012-04-17 22:20:48 - projectname] proguard.ParseException: Unknown option 'and' in argument number 9
[2012-04-17 22:20:48 - projectname] at proguard.ConfigurationParser.parse(ConfigurationParser.java:170)
[2012-04-17 22:20:48 - projectname] at proguard.ProGuard.main(ProGuard.java:491)
[2012-04-17 22:20:59 - projectname] Proguard returned with error code 1. See console
[2012-04-17 22:20:59 - projectname] proguard.ParseException: Unknown option 'and' in argument number 9
[2012-04-17 22:20:59 - projectname] at proguard.ConfigurationParser.parse(ConfigurationParser.java:170)
[2012-04-17 22:20:48 - projectname] proguard.ParseException: Unknown option 'and' in argument number 9
[2012-04-17 22:20:48 - projectname] at proguard.ConfigurationParser.parse(ConfigurationParser.java:170)
[2012-04-17 22:20:48 - projectname] at proguard.ProGuard.main(ProGuard.java:491)
[2012-04-17 22:20:59 - projectname] Proguard returned with error code 1. See console
[2012-04-17 22:20:59 - projectname] proguard.ParseException: Unknown option 'and' in argument number 9
[2012-04-17 22:20:59 - projectname] at proguard.ConfigurationParser.parse(ConfigurationParser.java:170)
[2012-04-17 22:20:59 - projectname] at proguard.ProGuard.main(ProGuard.java:491)
解决办法:
ProGuard 是 Android 代码混淆工具,对于程序员保护自己的劳动成果非常有用,目前已经包含在 Android SDK 2.3 里面了。今天在配置好 ProGuard 使用 Export Android Application 时提示“conversion to Dalvik format failed with error 1”错误。网络上有人介绍将 SDK 降级到 r11 和修改 proguard.bat 两种方法,不过最彻底的方法是将 Android SDK 2.3 包含的 ProGuard v4.4 升级到 v4.6,就能彻底解决该问题。
解决方法:从这里下载 ProGuard 最新版,我下载的是v4.6;解压缩 proguard4.6.zip 文件,将 bin 和 lib 两个文件夹覆盖 [Android SDK 安装目录]\tools\proguard 中的同名文件夹
即可;回到 Eclipse 重新执行 Export Android Application 看看是否成功了。
更新完如果不能够正常使用,请重启Eclipse ,并更新ADT,即可
REFERENCES:CSDN的网址复制不了了?
- Proguard returned with error code 1. See console解决办法”
- Proguard returned with error code 1. See console
- Proguard returned with error code 1. See console
- Proguard returned with error code 1. See console解决办法”
- Proguard returned with error code 1. See console
- Proguard returned with error code 1. see console
- Proguard returned with error code 1. See console
- Proguard returned with error code 1. See console解决办法”
- Proguard returned with error code 1. See console
- android打包时报错Proguard returned with error code 1. See console
- 混淆打包的Proguard returned with error code 1. See console错误
- 在签名生成apk文件时出现 Proguard returned with error code 1. See console
- Android打包失败Proguard returned with error code 1. See console
- Proguard returned with error code 1. See console : java.lang.OutOfMemoryError
- Android打包失败Proguard returned with error code 1. See console
- Android混淆时出现的proguard returned with error code 1.See console问题
- Android签名问题之Proguard returned with error code 1. See console
- Android Proguard returned with error code 1. See console 之注意事项
- 选择排序法和快速排序法
- 不提倡业务逻辑主键引入库表
- Android 把 log 保存到 SD卡方便调试
- ThinkPHP的分组配置
- ApnEditor.java源码2.2
- Proguard returned with error code 1. See console
- centos升级jdk
- 今天看了json格式随手写一个json格式的数据集
- Shell排序和归并排序
- Spring自动装配总结
- 程序员是拖Button的吗?
- AJAX Sample
- 一个正则表达式的封装类
- 集合的链式存储及操作实现