在Android中从Eclipse导出项目时出错
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了在Android中从Eclipse导出项目时出错相关的知识,希望对你有一定的参考价值。
从Eclipse导出我的项目以发送它进行测试时,我收到以下错误。
Obsolete ProGuard file; use -keepclasseswithmembers instead of -keepclasseswithmembernames
Issue: Looks for problems in proguard config files
Id: Proguard
Using -keepclasseswithmembernames in a proguard config file is not correct; it can cause some symbols to be renamed which should not be.
Earlier versions of ADT used to create proguard.cfg files with the wrong format. Instead of -keepclasseswithmembernames use -keepclasseswithmembers, since the old flags also implies "allow shrinking" which means symbols only referred to from XML and not Java (such as possibly CustomViews) can get deleted.
http://http://code.google.com/p/android/issues/detail?id=16384
该链接对我不起作用,我不知道如何解决这个问题。我最近升级了我的ADT。
答案
我在eclipse的Programs窗口中选择了错误。并且错误被删除。
另一答案
我在以下链接中找到了答案:
以上是关于在Android中从Eclipse导出项目时出错的主要内容,如果未能解决你的问题,请参考以下文章
Eclipse / Android:“在项目上运行构建器'Android Pre Compiler'时出错......”