dex2jar

General

Category
Free
Tag
Dex
License
Apache License, Version 2.0
Registered
Aug 9, 2014
Favorites
0
Link
https://github.com/pxb1988/dex2jar
See also
TurboDex
dexmaker
artdumper
Grab-n-Run
JADX

Additional

Language
Java
Version
v2.4 (Oct 3, 2023)
Created
Mar 16, 2015
Updated
Feb 22, 2024
Owner
Bob Pan (pxb1988)
Contributors
Jonas Schmid (jschmid)
Sebastian Schuberth (sschuberth)
Róbert Papp (TWiStErRob)
Bob Pan (pxb1988)
Paulo Costa (paulo-raca)
Nahuel Barrios (barriosnahuel)
kcmvp
Nico Mexis (ThexXTURBOXx)
Ricky (ayyrickay)
Claudia Pellegrino (claui)
Ömer Aydın (MikeAndrson)
Wei He (Marukohe)
12
Activity
Badge
Generate
Download
Source code

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

  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 ?

post on issue trackers list above.

License

Apache 2.0