4
[2013-01-25 15:20:55 - CQAQI] Proguard returned with error code 1. See console
[2013-01-25 15:20:55 - CQAQI] Note: there were 208 duplicate class definitions.
[2013-01-25 15:20:55 - CQAQI] Warning: android.support.v4.view.ViewCompatJellybeanMr1: can't find referenced method 'int getLabelFor()' in class android.view.View
[2013-01-25 15:20:55 - CQAQI] Warning: android.support.v4.view.ViewCompatJellybeanMr1: can't find referenced method 'void setLabelFor(int)' in class android.view.View
[2013-01-25 15:20:55 - CQAQI] Warning: there were 2 unresolved references to program class members.
[2013-01-25 15:20:55 - CQAQI]          Your input classes appear to be inconsistent.
[2013-01-25 15:20:55 - CQAQI]          You may need to recompile them and try again.
[2013-01-25 15:20:55 - CQAQI]          Alternatively, you may have to specify the option 
[2013-01-25 15:20:55 - CQAQI]          '-dontskipnonpubliclibraryclassmembers'.
[2013-01-25 15:20:55 - CQAQI] Error: Please correct the above warnings first.

当我导出应用程序时出现错误,即使更新到 Proguard 4.8 也是如此。我能做些什么?

4

2 回答 2

4

尝试这个:

-dontwarn android.support.v4.view.**
-keep class android.support.v4.** { *; }
于 2013-02-20T04:45:55.607 回答
1

我有同样的错误。
使用 SDK 级别 4.2.2 构建对我有用!

于 2013-03-19T01:50:06.380 回答