开发者

android: proguard obfuscating imported jars

I've ma开发者_运维知识库de a IM client that uses the asmack .jar library to communicate with google IM service server.

Now I am trying to export my application from eclipse and use the proguard tool to obfuscate my classes. The problem is that after exporting the project and running it, I can't log on to google because I get errors from the asmack lib...

one of the errors: 01-21 09:52:19.602: WARN/System.err(24297): java.lang.UnsupportedOperationException: java.lang.NoSuchMethodException: values I also get NoSuchClassException and some names of packages from asmack.

What settings do I have to make to get this work? Thank you!


Problem solved... I had to put all the classes noticed in the error in the -keep public class property of progurad

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜