Proguard.cfg Android file

Asked

Viewed 920 times

2

How do I "obfuscate" my classes, methods, variables and etc in the proguard.cfg Android configuration file? My intention is to hinder decompilation (reverse engineering) of the project.

  • 3

    Look, by default the ProGuard already obfuscating everything. In general in a project you have a file called proguard-rules.txt in Android Studio but can be proguard.cfg. It is very common to configure methods/classes that should not be obfuscated because it hinders the use of Reflection, and this is/should be disclosed by the creator of third-party libraries. Depending on which build system you are using, whether Ant or Gradle, there are different ways to configure the execution depending on the build type (release or debug).

  • Ahh, cool. Vlw for the info. I believe the default is enough then...

1 answer

1


Browser other questions tagged

You are not signed in. Login or sign up in order to post.