🍺 BREW Explorer

← all formulae

dex2jar

brew install dex2jar v2.4 Apache-2.0

Tools to work with Android .dex and Java .class files

172
30-day installs · #2773
571
90-day · #2749
2.0k
365-day · #2848
13.1k
★ GitHub stars · updated 2y ago

Runtime dependencies

Links

Raw metadata
{
  "aliases": [],
  "alternatives": [],
  "build_dependencies": [],
  "categories": [],
  "caveats": null,
  "conflicts_with": [],
  "dependencies": [
    "openjdk"
  ],
  "deprecated": 0,
  "deprecation_reason": null,
  "desc": "Tools to work with Android .dex and Java .class files",
  "disable_reason": null,
  "disabled": 0,
  "enrichment_fetched_at": "2026-06-20T23:36:55+00:00",
  "first_seen": "2026-06-20T23:34:18+00:00",
  "full_name": "dex2jar",
  "github_default_branch": "2.x",
  "github_last_commit_at": "2024-07-21T06:08:25Z",
  "github_readme_excerpt": "# dex2jar\n\n**Project move to [GitHub](https://github.com/pxb1988/dex2jar)**\n\n| _ | Mirror | Wiki | Downloads | Issues |\n|--:|:-----|:----:|:---------:|:------:|\n| gh | https://github.com/pxb1988/dex2jar | [Wiki](https://github.com/pxb1988/dex2jar/wiki) | [Releases](https://github.com/pxb1988/dex2jar/releases) | [Issues](https://github.com/pxb1988/dex2jar/issues) |\n| sf | https://sourceforge.net/p/dex2jar | [old](https://sourceforge.net/p/dex2jar/wiki) | [old](https://sourceforge.net/projects/dex2jar/files/) | [old](https://sourceforge.net/p/dex2jar/tickets/) |\n| bb | https://bitbucket.org/pxb1988/dex2jar | [old](https://bitbucket.org/pxb1988/dex2jar/wiki) | [old](https://bitbucket.org/pxb1988/dex2jar/downloads) | [old](https://bitbucket.org/pxb1988/dex2jar/issues) |\n| gc | https://code.google.com/p/dex2jar | [old](http://code.google.com/p/dex2jar/w/list) | [old](http://code.google.com/p/dex2jar/downloads/list) | [old](http://code.google.com/p/dex2jar/issues/list)|\n\nTools to work with android .dex and java .class files\n\n1. dex-reader/writer:\n    Read/write the Dalvik Executable (.dex) file. It has a [light weight API similar with ASM](https://sourceforge.net/p/dex2jar/wiki/Faq#markdown-header-want-to-read-dex-file-using-dex2jar).\n2. d2j-dex2jar:\n    Convert .dex file to .class files (zipped as jar)\n3. smali/baksmali:\n    disassemble dex to smali files and assemble dex from smali files. different implementation to [smali/baksmali](http://code.google.com/p/smali), same syntax, but we support escape in type desc \"Lcom/dex2jar\\t\\u1234;\"\n4. other tools:\n    [d2j-decrypt-string](https://sourceforge.net/p/dex2jar/wiki/DecryptStrings)\n\n## Usage\n\n1. In the root directory run: ./gradlew distZip\n2. cd dex-tools/build/distributions\n3. Unzip the file dex-tools-2.1-SNAPSHOT.zip (file size should be ~5 MB)\n4. Run d2j-dex2jar.sh from the unzipped directory\n\n### Example usage:\n\u003e sh d2j-dex2jar.sh -f ~/path/to/apk_to_decompile.apk\n\nAnd the output file will be `apk_to_decompile-dex2jar",
  "github_repo": "pxb1988/dex2jar",
  "github_stars": 13114,
  "github_topics": [],
  "homepage": "https://github.com/pxb1988/dex2jar",
  "homepage_og_description": null,
  "homepage_og_image": null,
  "homepage_title": null,
  "installs_30d": 172,
  "installs_365d": 1966,
  "installs_90d": 571,
  "keg_only": 0,
  "keg_only_reason": null,
  "last_seen": "2026-06-20T23:34:18+00:00",
  "license": "Apache-2.0",
  "llm_generated_at": null,
  "llm_model": null,
  "name": "dex2jar",
  "oldnames": [],
  "one_liner": null,
  "optional_dependencies": [],
  "rank_30d": 2773,
  "rank_365d": 2848,
  "rank_90d": 2749,
  "raw_hash": "a8a91c02bb336d3f",
  "recommended_dependencies": [],
  "revision": 0,
  "ruby_source_path": "Formula/d/dex2jar.rb",
  "tap": "homebrew/core",
  "test_dependencies": [],
  "uses_from_macos": [],
  "version_head": null,
  "version_stable": "2.4",
  "versioned_formulae": [],
  "why_use_this": null
}