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.
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.
1
Reverse engineering of your code, when configured by Proguard in default, can be obtained by following this simple tutorial:
http://ebortolin.wordpress.com/2011/05/19/engenharia-reversa-de-aplicativos-android/
Spend a little more time setting up your Proguard correctly to further overshadow your code. A good link that demonstrates how to set up your Proguard correctly follows below:
https://github.com/exmo/equizmo-android/wiki/Ofuscando-aplicativos-Android
Very good!!!!!!
Browser other questions tagged android proguard-android
You are not signed in. Login or sign up in order to post.
Look, by default the
ProGuard
already obfuscating everything. In general in a project you have a file calledproguard-rules.txt
in Android Studio but can beproguard.cfg
. It is very common to configure methods/classes that should not be obfuscated because it hinders the use ofReflection
, 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).– Wakim
Ahh, cool. Vlw for the info. I believe the default is enough then...
– Douglas Mesquita