I have set gradle properties this way
buildTypes {
release {
minifyEnabled true
shrinkResources true
proguardFiles getDefaultProguardFile(‘proguard-android.txt’), ‘proguard-rules.pro’
}
}
but code is NOT changed and easily decompiled with cfr to original class names.
Can anyone tell me how to obfuscate my code in aide?
Also proguard-rules.pro is set this way
-optimizationpasses 5
-dontpreverify
-repackageclasses ‘’
-allowaccessmodification
-optimizations !code/simplification/arithmetic
-keepattributes Annotation
-verbose
-dump obfuscation/class_files.txt
-printseeds obfuscation/seeds.txt
-printusage obfuscation/unused.txt
-printmapping obfuscation/mapping.txt
-obfuscationdictionary obDict.txt
-classobfuscationdictionary obDict.txt
-packageobfuscationdictionary obDict.txt