Hi,
Im trying to obfuscate a Java MIDlet with proguard. It runs ok on the PC, however, when I run it on the phone, the program opens, connects to the server, and then freezes. If I disable obfuscation, it runs ok again on the phone. Ive tryed all the obfuscation levels for apps (7, 8 and 9 at NetBeans), and none of them seems to work properly, and I cant release this app for comercial use without obfuscation. Also, the compiler throws some warnings:
Note: duplicate definition of library class [java.io.ByteArrayOutputStream]
Note: there were 14 duplicate class definitions.
But I dont know if this is realy the problem. Does anyone knows what is wrong? The obfuscator arguments are listed below:
Obfuscator Arguments (7):
-dontusemixedcaseclassnames
-default package ''
-keep public class ** {
public *;
}
Obfuscator Arguments (8): same as (7) plus -overloadaggressively.
Obfuscator Arguments (9): same as (8) but
-keep public class ** extends javax.microedition.midlet.MIDlet {
public *;
}
instead.
Thanks.