decompiler - 如何使用 DEXtoJar

标签 decompiler

我从这个链接找到了将文件dex反编译为jar的解决方案http://code.google.com/p/dex2jar/downloads/list但我不明白如何使用它。

最佳答案

请按照以下步骤进行操作_

  1. Rename your APK file(e.g., rename your APK file to .zip Ex- test.apk -> test.zip) & extract resultant zip file.
  2. Copy your .dex file in to dex2jar folder.
  3. Run setclasspath.bat. This should be run because this data is used in the next step.
  4. Go to Windows Command prompt, change the folder path to the path of your dex2jar folder and run the command as follows: d2j-dex2jar.bat classes.dex
  5. enjoy!! Your jar file will be ready in the same folder with name classes_dex2jar.jar.

希望这对您和所有阅读本文的人有所帮助...:)

关于decompiler - 如何使用 DEXtoJar,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/5257830/

相关文章:

android - 退出 apk 后谷歌地图无法使用

java - 错误: throw new UnsupportedOperationException("Method not decompiled

java - 如何动态反编译内存中的类对象?

c# - 反编译使用预编译工具生成的aspx页面

java - Scala 生成的字节码到 Java 代码的转换

java - 如何提取在 java 中声明的字符串并放入 jar 文件中

java - 如何反编译整个Jar文件?

asp.net - .dll反编译器

decompiling - 什么是反编译器它是如何工作的?

java - 从 .apk 文件获取源代码时出现问题?