Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
D

dex2jar

> 编程语言
Open source

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

13.1K stars0 likes2 views
WebsiteGitHub

About

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

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

Issues· 379 open

View all issuesOpen on GitHub
  • #590

    READ THIS **BEFORE** CREATING ISSUES!

    Updated Apr 24, 2026
  • #640

    dex2jar exception java.lang.IllegalArgumentException: newPosition > limit: (8183223 > 1411533)

    Updated Jul 31, 2025
  • #635

    smali to dex failed

    Updated Dec 22, 2024
  • #558

    Decompilation error of .dex file.

    Updated Oct 13, 2024
  • #629

    Extra "try" got added in okio library in "okio.AsyncTimeout$Watchdog"

    Updated Sep 27, 2024
  • #603

    jar2dex min sdk version issue

    Updated Sep 27, 2024
  • #628

    inconsistent stack height Index 2 out of bounds for length 2 - with snapshot 2.2 not getting this error with snapshot 2.3 and 2.4 getting this error

    Updated Sep 27, 2024
  • #618

    dex2jar: found bug

    Updated Jul 5, 2024
  • #253

    d2j-smali : java.nio.charset.MalformedInputException: Input length = 1

    Updated May 12, 2024
  • #619

    org.objectweb.asm.MethodTooLargeException

    Updated Apr 30, 2024

> Tags

Java

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 28, 2026
Category编程语言
PricingOpen source

> Related tools

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言