【问题标题】:Getting error while exporting project from Eclipse in Android在 Android 中从 Eclipse 导出项目时出错
【发布时间】:2012-05-26 11:20:17
【问题描述】:

我在从 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。

【问题讨论】:

    标签: android export project


    【解决方案1】:

    我在eclipse的程序窗口中选择了错误。并且错误被删除。

    【讨论】:

      【解决方案2】:

      我在以下链接中找到了答案:

      【讨论】:

        猜你喜欢
        • 2023-04-06
        • 1970-01-01
        • 2023-03-03
        • 2015-08-17
        • 1970-01-01
        • 2015-05-21
        • 1970-01-01
        • 1970-01-01
        相关资源
        最近更新 更多