conversion to dalvik format failed with error 1。
2015-09-17 11:03
405 查看
升级到adt15.0后,出现conversion to dalvik format failed with error 1
作者: 今日评论:0 条 | [字体:大 中 小] |
(主要原因应该是SDK升级的原因, 单单升级ADT没有遇到问题)
如图:
Refresh、Clean都试过了,还是不行。
最终的解决办法是,去除了project.properties文件(原default.properties)中的proguard配置。
view plaincopy
to clipboardprint?
# This file is automatically generated by Android Tools.
# Do not modify this file -- YOUR CHANGES WILL BE ERASED!
#
# This file must be checked in Version Control Systems.
#
# To customize properties used by the Ant build system use,
# "ant.properties", and override values to adapt the script to your
# project structure.
# Project target.
target=android-7
#删除下面这行就ok了
#proguardproguard.config=proguard.cfg
上面这种解决方式不太靠谱,毕竟大家还是要混淆代码的,所以说一下另一个解决办法,那就是升级Proguard。
目前最新的proguard是4.7版,我这边升级到Proguard4.6就OK了。
从proguard官网下载4.6的,覆盖到tools/proguad/bin、lib这两个文件夹就OK了.我这边是这样解决的。
下载地址: http://sourceforge.net/projects/proguard/files/proguard/4.6/
相关文章推荐
- dig 命令 LINUX http://blog.csdn.net/zavens/article/details/3179121
- assign、retain、copy使用异同
- CF 579A Raising Bacteria
- leetcode:Contains Duplicate III
- AIX .tgz的安装包及登录日志查看
- Email正则表达式日常整理大全
- 使用Jmai发送邮件
- Container With Most Water 解答
- [CareerCup] 9.1 Climbing Staircase 爬楼梯
- cf#320 Div.2 Problem A Raising Bacteria
- Codeforces Round #320 (Div. 2) A. Raising Bacteria
- rails s的时代一去不复返了
- Email正则表达式日常整理大全
- exchange email account最多只能在10个终端上设置
- ZOJ.2060 Fibonacci Again【数论-斐波那契】 2015/09/16
- [BetterExplained]为什么你应该(从现在开始就)写博客
- 使用dir()、readdir()和glob()遍历目录及测试性能 http://blog.csdn.net/hpy1165331898/article/details/44918879
- RAID详解[RAID0/RAID1/RAID5/RAID10]
- mdadm使用详解及RAID 5简单分析
- 使用Genymotion调试出现错误INSTALL_FAILED_CPU_ABI_INCOMPATI