LinuxCommandLibrary

jadx

decompiles Android DEX bytecode to Java source

TLDR

Decompile APK

$ jadx [app.apk]
copy
Decompile to specific directory
$ jadx -d [output_dir] [app.apk]
copy
Open GUI
$ jadx-gui [app.apk]
copy
Decompile DEX file
$ jadx [classes.dex]
copy
Show decompilation info
$ jadx --show-bad-code [app.apk]
copy
Export as Gradle project
$ jadx -e [output_dir] [app.apk]
copy

SYNOPSIS

jadx [options] file

DESCRIPTION

jadx decompiles Android DEX bytecode to Java source. It processes APK files directly including resources.
The tool provides both CLI and GUI interfaces. It produces readable Java code from compiled Android apps.

PARAMETERS

FILE

APK, DEX, or AAR file to decompile.
-d DIR
Output directory.
-e DIR
Export as Gradle project.
--show-bad-code
Show decompilation errors in output.
-r, --no-res
Skip resources decompilation.
-j N
Thread count.
--help
Display help information.

CAVEATS

Decompilation not perfect. Obfuscated code harder. Legal considerations apply.

HISTORY

jadx was created as an improvement over older Android decompilers, focusing on producing cleaner, more readable Java output.

SEE ALSO

apktool(1), dex2jar(1), jd-cli(1)

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community