mirror of
https://github.com/pxb1988/dex2jar.git
synced 2024-11-22 20:59:59 +00:00
Tools to work with android .dex and java .class files
.github/workflows | ||
d2j-base-cmd | ||
d2j-jasmin | ||
d2j-smali | ||
dex-ir | ||
dex-reader | ||
dex-reader-api | ||
dex-tools | ||
dex-translator | ||
dex-writer | ||
gradle/wrapper | ||
.travis.yml | ||
build.gradle | ||
gradlew | ||
gradlew.bat | ||
LICENSE.txt | ||
NOTICE.txt | ||
README.md | ||
settings.gradle |
dex2jar
Project move to GitHub
_ | Mirror | Wiki | Downloads | Issues |
---|---|---|---|---|
gh | https://github.com/pxb1988/dex2jar | Wiki | Releases | Issues |
sf | https://sourceforge.net/p/dex2jar | old | old | old |
bb | https://bitbucket.org/pxb1988/dex2jar | old | old | old |
gc | https://code.google.com/p/dex2jar | old | old | old |
Tools to work with android .dex and java .class files
- dex-reader/writer: Read/write the Dalvik Executable (.dex) file. It has a light weight API similar with ASM.
- d2j-dex2jar: Convert .dex file to .class files (zipped as jar)
- smali/baksmali: disassemble dex to smali files and assemble dex from smali files. different implementation to smali/baksmali, same syntax, but we support escape in type desc "Lcom/dex2jar\t\u1234;"
- other tools: d2j-decrypt-string
Usage
- In the root directory run: ./gradlew distZip
- cd dex-tools/build/distributions
- Unzip the file dex-tools-2.1-SNAPSHOT.zip (file size should be ~5 MB)
- Run d2j-dex2jar.sh from the unzipped directory
Example usage:
sh d2j-dex2jar.sh -f ~/path/to/apk_to_decompile.apk
And the output file will be apk_to_decompile-dex2jar.jar
.
Need help ?
post on issue trackers list above.