java - Proguard output JAR file cannot be executed -


i've used proguard obfuscate .jar file. after obfuscation, jar file not executing. on decompiling obfuscated code, found main method renamed.

original code :

public static transient void main(string args[]) {     swingutilities.invokelater(new  object()     /* anonymous class not found */     class _anm1 {}     ); } 

obfuscated code :

public static transient void a(string as[]) {     swingutilities.invokelater(new aa()); } 

i unchecked options in obfuscation tab, still no luck ! ?

i didn't tested that, read proguard deleted unused classes. try way - maybe helps:

public static transient void main(string args[]) {     swingutilities.invokelater(new  object()     /* anonymous class not found */     class _anm1 {}     );     new _anm1(); } 

Comments

Popular posts from this blog

Why can rails not find a route created by a helper? -

javascript - jquery or ashx not working -

opencv - DataType<cv::detail::deriv_type>::depth what is it used for -