问题
Is there a way to protect Android apk file so that the source code cannot be regenerated? Also, there are a number of network sniffers that allow HTTP monitoring, is there a way to bypass these such that the incoming/outgoing network traffic could not be monitored?
I have read that code obfuscation, to some extent, is possible using SourceForge's Proguard(Reference).
What are other alternatives that I can look into?
Please advise.
Thanks.
回答1:
- You can use an obfuscator to obfuscate the object code, which makes it harder to decompile (at least with an automatic decompiler). No amount of obfuscation can totally prevent manual decompilation.
- Use HTTPS to prevent sniffing. Simple!
来源:https://stackoverflow.com/questions/4569104/protecting-android-apk-to-prevent-decompilation-network-sniffing-etc