This is GoldenBoot's fork of the dex2jar project, aimed at fixing bugs and improving compatibility.
- Updated Libraries: Upgraded ASM libraries to v9.8.
- Android Command-Line Support: Works seamlessly with tools like Termux.
- Bug Fixes: Resolved
java.lang.ArrayIndexOutOfBoundsExceptionerrors during class conversion. - Improved Codebase: Reformatted, cleaned up, and optimized the code for better readability and maintainability.
- Java Compatibility: Converted some
Java 8code toJava 7to support tools like AIDE. - Batch Conversion: Added support for converting multiple DEX/JAR files in a folder.
- Packaged Output: All converted classes are packaged into a single JAR file.
- Multiple APK: Supports multiple APK's from a folder
- Ensure you have Java installed (
Java 7or higher is recommended). - Download the latest build from the Releases.
- Download the latest
dexjar.jarfile from the Releases page. - Place the file in your desired directory.
java -jar dexjar.jar d2j <input> <output_dir>- Where
<input>is a path ofDEX fileor afolderthat contains multiple DEX files. - Where
<output_dir>is the path of directory where the converted file(s).jarwill be saved (optional).
java -jar dexjar.jar j2d <input> <output> <min-sdk>- Where
<input>is a path ofJAR fileor afolderthat contains multiple JAR files. - Where
<output>is the path of file/directory where the converted file(s) will be saved. It is recommended to use ZIP as the output if you are converting an entire APK. - Where
<min-sdk>is the SDK version required for the DEX (optional; default is 13).
We welcome contributions! Please follow these steps:
- Fork the repository.
- Create a new branch for your feature or bug fix.
- Commit your changes and push the branch.
- Submit a pull request with a clear description of your changes.
For any questions or feedback, feel free to open an issue or reach out via GitHub or Telegram.