ProGuard breaks Java application - no text, no images

Posted by jocull on Stack Overflow See other posts from Stack Overflow or by jocull
Published on 2011-02-11T02:42:56Z Indexed on 2011/02/11 7:25 UTC
Read the original article Hit count: 250

Filed under:
|
|

I'm trying to use ProGuard to obfuscate a Java application. I'm experiencing a problem where all of my text and images disappear from the GUI (Swing) forms. I've tried disabling optimizations and including more libraries, but nothing seems to be working.

I've inspected the output generated by the obfuscator with a decompiler, and my resource paths seem to still be correct.

  1. Do I need to be including more core Java libraries outside of jre/lib/rt.jar?
  2. Are there more settings I should disable?
  3. ...other suggestions?

Thanks.

© Stack Overflow or respective owner

Related posts about java

Related posts about obfuscation