Proguard error, cannot export application

[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 the application, I get an error even after updating Proguard 4.8. What can I do?

+4
source share
2 answers

try the following:

 -dontwarn android.support.v4.view.** -keep class android.support.v4.** { *; } 
+4
source

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

+1
source

All Articles