Reputation: 89
[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.
When I export app I get an error, even after updating to Proguard 4.8. What can I do?
Upvotes: 4
Views: 738
Reputation: 3159
try this:
-dontwarn android.support.v4.view.**
-keep class android.support.v4.** { *; }
Upvotes: 4