I just recently extracted source code of an apk from playstore. When I opened the source code all the function names, variable names were renamed with some random numbers and letters.
So does playstore does that automatically when we upload our apk? If not then how can I do that in android studio?
thats Proguard feature, check this doc: Shrink, obfuscate, and optimize your app
when you use it then your code will be obfuscated for harder reverse engineering (besides some optimisation). you have to enable this feature in your gradle file ( minifyEnabled
), some same how to declare under link above
So does playstore does that automatically when we upload our apk?
-no it was done by some other application
the application you unpacked was previously obfuscated.
you can read more about this here:
Java obfuscator
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.