jadx
decompiles Android DEX bytecode to Java source
TLDR
Decompile APK
$ jadx [app.apk]
Decompile to specific directorycopy
$ jadx -d [output_dir] [app.apk]
Open GUIcopy
$ jadx-gui [app.apk]
Decompile DEX filecopy
$ jadx [classes.dex]
Show decompilation infocopy
$ jadx --show-bad-code [app.apk]
Export as Gradle projectcopy
$ 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.