是否有可能反编译一个Android的apk文件?有可能、反编译、文件、Android

2023-09-11 11:37:47 作者:是否記得原點在哪。。

是用户能够我的应用程序的apk文件转换回实际code? 如果他们这样做 - 有没有什么办法prevent这种

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?

推荐答案

首先,的apk文件仅仅是修改后的jar文件。所以,真正的问题是,他们可以反编译里面的DEX文件。答案是排序。目前已经有反汇编器,如 dedexer 和的 smali 。你可以指望它能变得更好,理论上它应该最终有可能进行反编译,以实际的Java源代码(至少有时候)。见previous问题反编译DEX为Java源$ C ​​$ C 。

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.