Skip to content

Tag: proguard

Android ProGuard settings for Facebook

I finally found out why my app crashes built for release. ProGuard was indeed stripping code from my application but i prevented this by manually adding the classes with the keep command in the proguard-android.txt (found in the sdk). For Facebook I used: But I think I’m still missing something. The app…

keep only function names when obfuscation for proguard

I use proguard for obfuscation. How can I keep only function names while obfuscation. class names must be obfuscated but function names. if I use, and it keeps function of somefunction, but it doesnt change classes names. But, I want to change classes names but somefunction Answer You can use -keepclassmember…

Proguard keep class names?

Hello I am writing an Android app and I have set up Proguard to obfuscate my application. I however use a classloader to dynamically load different extensions to my application. The problem is that these don’t load correctly if their names are changed. How do I keep Proguard from obfuscating specific cl…