I try to run proguard on an Android project contain classes.jar (library from Unity3d software) in attachement. I have error:
[2014-03-04 15:28:55 - Test0289_0304] Proguard returned with error code 1. See console
[2014-03-04 15:28:55 - Test0289_0304] Error: Can't read [F:\140303\Test0289_0304\lib\untiy-classes.jar] (Can't process class [com/unity3d/player/UnityPlayer.class] (Unknown verification type [251] in stack map frame))
I add one line in proguard-project.txt:
-libraryjars lib/untiy-classes.jar
I use proguard 4.11.
This is an issue with the classes in the Unity library: some of the preverification metadata are corrupt. You should check if there is a more recent version. Otherwise, you could modify ProGuard to accept the corrupt classes, as discussed on its issue tracker.
Note that you should not add -libraryjars or -injars to your configuration. The Android build process (Ant, Eclipse, Gradle) already specifies those options for you.