Tools to work with android .dex and java .class files
Go to file
2021-10-29 22:23:12 +08:00
d2j-base-cmd remove maven pom.xml 2018-04-02 16:44:36 +08:00
d2j-j6 support git/hg revision in meta-info 2015-04-22 21:54:17 +08:00
d2j-jasmin fix build error 2018-04-02 18:19:23 +08:00
d2j-smali Fix IllegalFormatConversionException 2018-09-22 15:04:07 +02:00
dex-ir fix crash on pattern empty-try-catch-with-goto-head 2019-09-05 15:21:28 +08:00
dex-reader support method handle of type INVOKE_CONSTRUCTOR/INVOKE_DIRECT/INVOKE_INTERFACE 2018-09-05 17:23:07 +08:00
dex-reader-api support method handle of type INVOKE_CONSTRUCTOR/INVOKE_DIRECT/INVOKE_INTERFACE 2018-09-05 17:23:07 +08:00
dex-tools Increase heap size 2020-06-24 14:58:31 -03:00
dex-translator fix issue #207 2019-12-05 10:18:23 +08:00
dex-writer remove maven pom.xml 2018-04-02 16:44:36 +08:00
gradle/wrapper update gradle to 4.0 2018-04-02 11:31:37 +08:00
.hgignore ignore build folder for gradle 2014-07-31 21:59:46 +08:00
.hgtags clean exec mode from file 2013-06-05 19:10:04 +08:00
.travis.yml use jdk8 for travis 2018-04-02 16:31:28 +08:00
build.gradle use dx from android-build-tools 27.0.3 2018-04-02 16:45:24 +08:00
gradlew add gradle wrapper 2016-01-06 13:13:38 +08:00
gradlew.bat add gradle wrapper 2016-01-06 13:13:38 +08:00
LICENSE.txt add notice and lincense 2014-10-27 20:51:16 +08:00
NOTICE.txt merge patch from Enea Stanzani. 2014-10-29 21:22:43 +08:00
README.md Merge branch '2.x' into 2.x 2021-10-29 22:23:12 +08:00
settings.gradle add d2j-j6 to generate dex2jar for jdk6 2015-04-20 23:48:41 +08:00

dex2jar

Project move to SourceForge and Bitbucket and GitHub

_ Mirror Wiki Downloads Issues
sf https://sourceforge.net/p/dex2jar Wiki Downloads Tickets
bb https://bitbucket.org/pxb1988/dex2jar Wiki Downloads Issues
gh https://github.com/pxb1988/dex2jar Wiki Releases Issues
gc https://code.google.com/p/dex2jar old old old

dex2jar Build Status

Tools to work with android .dex and java .class files

  1. dex-reader/writer: Read/write the Dalvik Executable (.dex) file. It has a light weight API similar with ASM.
  2. d2j-dex2jar: Convert .dex file to .class files (zipped as jar)
  3. 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;"
  4. other tools: d2j-decrypt-string

Usage

  1. In the root directory run: ./gradlew distZip
  2. cd dex-tools/build/distributions
  3. Unzip the file dex-tools-2.1-SNAPSHOT.zip (file size should be ~5 MB)
  4. 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 ?

send email to dex2jar@googlegroups.com

or post on issue trackers list above.

License

Apache 2.0