找回密码
 立即注册
dexThejarFile | android开发 2022-11-08 100 0star收藏 版权: . 保留作者信息 . 禁止商业使用 . 禁止修改作品
包括apktool、dex2jar、jdgui等三个工具。apktooldex2jar反编译过程:1、把class.dex拷贝到dex2jar.bat地点目录,直接拖动class.dex到dex2jar.bat,生成classes.dex.dex2jar.jar。2、用rar解压出jar文件中的class文件,然后用jad或DJJavaDecompiler反编译工具将.class文件反编译成.java文件3、运行JD-GUI工具(绿化软件),打开上面的jar文件,在File下有个SaveJARSource,它可以生成src源代码。Android用的Dalvik压根不是规范的JavaVM的Jar,而是DEX格式的,如何办?附件是dxe2jar和JD,两个工具都是opensource的,我已经全面放在一个压缩包了。别着急,有方法:1.假定你要反汇编的是app.apk,那么先改名成app.zip2.解压3.在解压出来的里边找到classes.dex,这个就是方案的程序的二进制文件4.用附件的dex2jar,在Windows命令行下运行dex2jarclasses.dex5.生成classes.dex.dex2jar.jar,这个就是转换后的JAR文件了6.执行jd-gui,找到方才生成的JAR文件,打开之。7.悄悄乐吧,90%以上的Java源代码跃然眼前.

(It includes three tools: apktool, dex2jar, and jdgui. The decompilation process of apktooledx2jar: 1. Copy the class.dex to the dex2jar.bat location directory, and directly drag the class.dex to dex2jar.bat to generate the classes.dex.dex.bat jar。 2. Extract the class file in the jar file with rar, and then decompile the. class file into Java file 3. Run the JD-GUI tool (greening software), open the jar file above, and there is a SaveJARSource under the File, which can generate src source code. The Dalvik used by Android is not the Jar of the standard Java VM at all, but the DEX format. What should I do? The attachments are dxe2jar and JD. Both tools are opensource. I have put them in one package. Don't worry, there are ways: 1. Suppose you want to disassemble app.apk, then rename it app.zip2. Decompress it. 3. Find the classs.dex in the extracted file, which is the binary file of the program. 4. Use the dex2jar of the attachment, and run dex2jarclasss.dex under the Windows command line. 5. Generate classs.dex.dex.dex2jar.jar, which is the converted JAR file. 6. Execute the jd gui, find the JAR file that was just generated, and open it. 7. Quiet music bar, more than 90% of Java source code is in front of you)

[下载]22002279144.rar




上一篇:AndroidTestFTP
下一篇:android中wifi详细介绍