如何在android中编码.apk文件
在这里,我需要保护我的 apk 文件不被其他人获取,以获取源代码以确保安全。目前我需要在 Android 市场和网络上的其他市场中发布我的 apk 文件。所以请帮助我如何保护和编码 apk 文件。提前致谢。
here i need to safe my apk file from others to getting source codes for security purpose. Currently i need to release my apk file in both android market and other market in the web. So pls help me how to protect and encode apk file. Thanks in advance.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
按照 Android 开发者网站上的详细说明使用 ProGuard:http://developer.android.com/guide/developing/tools /proguard.html
这会混淆并压缩你的代码,使其更难(但并非不可能!)对其进行逆向工程。
请注意,您可能必须修改
proguard.cfg
文件中的-keep
选项,以确保您的应用在混淆后仍然可以工作。Use ProGuard as detailed on Android Developer site: http://developer.android.com/guide/developing/tools/proguard.html
This will obfuscate and compress your code, making it harder (but not impossible!) to reverse-engineer it.
Note that you'll likely have to mess with
-keep
options inproguard.cfg
file to make sure your app still works after obfuscation.