When I export my application through Export > Export Android Application or through Android Tools > Export Signed Application Package , I just can't get Proguard to work.
All I know about how to enable Proguard is to uncomment the line
proguard.config=${sdk.dir}\tools\proguard\proguard-android.txt:proguard-project.txt
in project.properties .
And I tried to put my configuration file there. Will not work.
The classes.dex file in the exported package contains the class name of private methods, such as onConfirmButtonClicked . Thus, over 99% of the chances that Proguard did not do its job.
After that, I put some random characters in the proguard-project.txt file, but I did not get any errors. The detailed output of the assembly did not refer to Proguard at all.
I wonder what is wrong there.
source share