Linux command
jadx 命令
文本
复制后可按需替换文件名、目录或参数。
常用示例
Decompile APK
jadx [app.apk]
Decompile to specific directory
jadx -d [output_dir] [app.apk]
Open GUI
jadx-gui [app.apk]
Decompile DEX file
jadx [classes.dex]
Show decompilation info
jadx --show-bad-code [app.apk]
Export as Gradle project
jadx -e [output_dir] [app.apk]
说明
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.
参数
- -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.
FAQ
What is the jadx command used for?
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.
How do I run a basic jadx example?
Run `jadx [app.apk]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does -d _DIR_ do in jadx?
Output directory.