pkg.sopackage field notes

brew / rank 2899

Install dex2jar with Homebrew

Tools to work with Android .dex and Java .class files. Version 2.4 via Homebrew; verified from local package data.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install dex2jar

provider-native install command

overview

Package summary

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

Commands and aliases

  • d2j-apk-sign
  • d2j-asm-verify
  • d2j-baksmali
  • d2j-class-version-switch
  • d2j-decrypt-string
  • d2j-dex-recompute-checksum
  • d2j-dex-weaver
  • d2j-dex2jar
  • d2j-dex2smali
  • d2j-jar-access
  • d2j-jar-weaver
  • d2j-jar2dex
  • d2j-jar2jasmin
  • d2j-jasmin2jar
  • d2j-smali
  • d2j-std-apk
  • d2j_invoke

history

Project history and usage

dex2jar is a command-line toolkit for working with Android Dalvik Executable files and Java class or jar files. Package users usually encounter it through d2j-dex2jar and the companion d2j-* utilities.

Project history

The official README describes dex2jar as tools for Android .dex and Java .class files and notes the project move to GitHub. It preserves links to older SourceForge, Bitbucket, and Google Code project homes, which reflects the common migration path of early Android reverse-engineering tools into GitHub-era maintenance.

The current repository organizes the project as multiple tools: dex-reader/writer, d2j-dex2jar, smali/baksmali-compatible assembly and disassembly, and additional utilities such as string decryption helpers.

Adoption history

dex2jar became a familiar package in Android reverse-engineering and security-analysis workflows because it bridged Android .dex bytecode and Java tooling. Even when users later inspect output with decompilers or bytecode tools, the package often provides the first conversion step from an APK or dex file to a jar-shaped artifact.

How it is used

The README's example workflow builds the distribution, unpacks dex-tools, and runs d2j-dex2jar.sh against an APK path. The output is a jar file named after the input, such as apk_to_decompile-dex2jar.jar.

Why package nerds care

dex2jar is notable as a package because it installs a family of narrowly named command-line tools rather than a single binary. That makes it a classic reverse-engineering formula: many small entry points, stable scripts, and a README that doubles as the packaging-facing interface.

Timeline

  • Early project era: README records historical homes on Google Code, SourceForge, and Bitbucket.
  • GitHub era: README marks the project move to GitHub.
  • 2023-10-03: GitHub release v2.4 was published.

Related projects

  • smali/baksmali is directly related because dex2jar includes compatible assembly and disassembly tools.
  • Java bytecode and Android APK analysis tools are downstream or adjacent consumers of dex2jar output.

security posture

Risk level: blue

broad file, network, media, or database tool signal.

Risk classifier

blue risk · medium confidence · tool

Why

  • broad file, network, media, or database tool signal

Signals

  • text:decrypt

Install behavior

  • No Homebrew bottle metadata was recorded.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

executables

Installed executables

CommandKindExposureNote
d2j-apk-signexecutableindexed executableDiscovered from the local executable index.
d2j-asm-verifyexecutableindexed executableDiscovered from the local executable index.
d2j-baksmaliexecutableindexed executableDiscovered from the local executable index.
d2j-class-version-switchexecutableindexed executableDiscovered from the local executable index.
d2j-decrypt-stringexecutableindexed executableDiscovered from the local executable index.
d2j-dex-recompute-checksumexecutableindexed executableDiscovered from the local executable index.
d2j-dex-weaverexecutableindexed executableDiscovered from the local executable index.
d2j-dex2jarexecutableindexed executableDiscovered from the local executable index.
d2j-dex2smaliexecutableindexed executableDiscovered from the local executable index.
d2j-jar-accessexecutableindexed executableDiscovered from the local executable index.
d2j-jar-weaverexecutableindexed executableDiscovered from the local executable index.
d2j-jar2dexexecutableindexed executableDiscovered from the local executable index.
d2j-jar2jasminexecutableindexed executableDiscovered from the local executable index.
d2j-jasmin2jarexecutableindexed executableDiscovered from the local executable index.
d2j-smaliexecutableindexed executableDiscovered from the local executable index.
d2j-std-apkexecutableindexed executableDiscovered from the local executable index.
d2j_invokeexecutableindexed executableDiscovered from the local executable index.

freshness

Version and freshness

These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.

page generated2026-08-03
manager version2.4
manager updated
local dataunknown
upstreamnot available
latest detectednot detected
  • okNo freshness warnings were generated.

install metadata

Package metadata

Package keybrew:dex2jar
Version2.4
Package managerHomebrew
Homepagehttps://github.com/pxb1988/dex2jar
Repositoryhttps://github.com/pxb1988/dex2jar
Bottlenot recorded
Servicenone declared

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • Geiger risk classifier
  • Nucleus package database
  • curated package history
  • pkgdb category and tag curation