更好的方法来提取的apk文件 [英] Better way to extract files from apk
问题描述
我用此的提取方法从apk文件的Java和XML文件,但我的Java文件有很多的修饰,它们肯定是不存在在原来的code。
I've used this method for extracting the Java and XML files from the apk file but my Java files have a lot of modifications which for sure wasn't there in the original code.
例如,在一个类中出现多次获得$ 902
,获得$ 902
,数字串像 2130903064
。他们出现在其他方法或变量的地方,因为他们的项目没有建设。
For example, in one class appears for several times access$902
, access$902
,string of digits like 2130903064
. They appear in the place of other methods or variables and the project doesn't build because of them.
可以在那里提取的原始文件或针对此问题的解决方案?谢谢
Can be there extracted the original files or is a solution for this problem? Thanks
推荐答案
没有。
由于生成过程中生成的.class
文件和逆向工程讷韦尔到原来的code(据我所知)。
Because build process generate .class
files, and reverse engineering nevers get to the original code (AFAIK).
如果使用的是 ProGuard的<生成的 .apk文件
文件/一>,这将是的可读性,更难以理解。
If the .apk
file was generated using the proguard, this will be less readable and more difficult to understand.
最好的办法是使用 AndroChef 的Java反编译器,运行在Windows中。这个工具可以让你改变方法/变量/类的名称是更具可读性,包括生成的文件。
The best alternative is use the AndroChef java decompiler, that runs in windows. This tool can allow you to change the method / variable / class names to be more readable, including the generated files.
原来的code只有开发商/公司拥有。我希望你是不是用这个东西非法的。
The original code only the developer / company owns. I hope you are not using this for something illegal.
这篇关于更好的方法来提取的apk文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!