Vinoth
Vinoth

Reputation: 5785

Android ProGuard - only obfuscation

Is it possible to use ProGuard for only obfuscation. I don't want ProGuard to remove any classes from my projects. My intention to use ProGuard is only for obfuscation so as to prevent reverse engineering.

Upvotes: 39

Views: 16452

Answers (1)

Eric Lafortune
Eric Lafortune

Reputation: 45668

Yes, by specifying

-dontshrink
-dontoptimize

You can find details on all configuration options in the ProGuard manual.

Note that shrinking and optimization may help preventing reverse engineering a bit.

Upvotes: 41

Related Questions