第一次写博客,呵呵……
为什么会写这篇文章 是因为记录下问题,花了一天的时间来解决,有点坑
出现这个问题后,网上搜了很多资料,不是没答案就是没有用处。最后找到了这个网址:http://sourceforge.net/p/proguard/bugs/420/?page=0,也就是proguard官网反馈bug的地方。从这得到一个教训,开源的东西出了问题的话,一定首先要去官网上去看看问题反馈。
解决方法就是根据Eric Lafortune的建议:
It appears two classes in the jar have corrupt StackMapTable attributes, which crashes the parsers in ProGuard and also in javap, e.g.:
javap -classpath libs/classes.jar com.unity3d.player.VideoPlayer
Is this the original library? The proper solution is to make sure the classes are fixed. They seem to be obfuscated, maybe with ProGuard even (?), but at least the latest version of ProGuard writes out class files that are not corrupt (unless it is misconfigured).
As a workaroun