是否可以反编译 Android .apk 文件? [英] Is it possible to decompile an Android .apk file?

查看:39
本文介绍了是否可以反编译 Android .apk 文件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

用户能否将我的应用程序的 apk 文件转换回实际代码?如果他们这样做 - 有什么办法可以防止这种情况发生吗?

Are the users able to convert the apk file of my application back to the actual code? If they do - is there any way to prevent this?

推荐答案

首先,一个 apkfile 只是一个修改后的 jar 文件.所以真正的问题是他们能否反编译里面的dex文件.答案是有点.已经有反汇编程序,例如 dedexersmali.您可以期望这些只会变得更好,理论上最终应该可以反编译为实际的 Java 源代码(至少有时).请参阅上一个问题将 DEX 反编译为 Java 源代码.

First, an apk file is just a modified jar file. So the real question is can they decompile the dex files inside. The answer is sort of. There are already disassemblers, such as dedexer and smali. You can expect these to only get better, and theoretically it should eventually be possible to decompile to actual Java source (at least sometimes). See the previous question decompiling DEX into Java sourcecode.

您应该记住的是,混淆是行不通的.选择一个好的许可证,并尽最大努力通过法律强制执行.不要在不可靠的技术措施上浪费时间.

What you should remember is obfuscation never works. Choose a good license and do your best to enforce it through the law. Don't waste time with unreliable technical measures.

这篇关于是否可以反编译 Android .apk 文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆