Protecting Android apk to prevent decompilation, network sniffing etc

只谈情不闲聊 提交于 2019-12-09 22:09:38

问题


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:


  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.
  2. Use HTTPS to prevent sniffing. Simple!


来源:https://stackoverflow.com/questions/4569104/protecting-android-apk-to-prevent-decompilation-network-sniffing-etc

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!