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

I had the same error.
Building with SDK level 4.2.2 worked for me!

于 2013-03-19T01:50:06.380 に答える