Reputation: 138
I'm trying to learn new android methods.Before I develop new android application, I'm searching published applications.
If I decompile my application's apk, class names and objects names remains same
But If I decompile application that is in market, class and object names contains letter. That is why I don't understand what programmer did in code. Do they encrypt the code? any way to decrypt it?
Upvotes: 1
Views: 3300
Reputation: 3568
The apks were probably obfuscated with proguard. If it's your app, disable obfuscation.
As for why apps on the market do it, it's so you can't do what you're doing now and decompile to (coherent) source. As far as I know there is no way around it, and it would be unethical to try do so. We're software developers here, so we won't help you take another developers work from them.
Upvotes: 3
Reputation: 58868
They obfuscated the code. Obfuscation is an automatic process which renames all classes/methods/fields with short sequential names, removes unused classes/methods/fields, and sometimes encrypts strings.
There is no easy way to deobfuscate the code.
Upvotes: 1