## JADX
[![Build Status](https://travis-ci.org/skylot/jadx.png?branch=master)](https://travis-ci.org/skylot/jadx)
[![Code Coverage](https://codecov.io/gh/skylot/jadx/branch/master/graph/badge.svg)](https://codecov.io/gh/skylot/jadx)
[![SonarQube Bugs](https://sonarcloud.io/api/project_badges/measure?project=jadx&metric=bugs)](https://sonarcloud.io/dashboard?id=jadx)
[![License](http://img.shields.io/:license-apache-blue.svg)](http://www.apache.org/licenses/LICENSE-2.0.html)
[![semantic-release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg)](https://github.com/semantic-release/semantic-release)
**jadx** - Dex to Java decompiler
Command line and GUI tools for produce Java source code from Android Dex and Apk files
![jadx-gui screenshot](https://i.imgur.com/h917IBZ.png)
### Downloads
- latest [unstable build: ![Download](https://api.bintray.com/packages/skylot/jadx/unstable/images/download.svg) ](https://bintray.com/skylot/jadx/unstable/_latestVersion#files)
- release from [github: ![Latest release](https://img.shields.io/github/release/skylot/jadx.svg)](https://github.com/skylot/jadx/releases/latest)
- release from [bintray: ![Download](https://api.bintray.com/packages/skylot/jadx/releases/images/download.svg) ](https://bintray.com/skylot/jadx/releases/_latestVersion#files)
After download unpack zip file go to `bin` directory and run:
- `jadx` - command line version
- `jadx-gui` - graphical version
On Windows run `.bat` files with double-click\
**Note:** ensure you have installed Java 8 64-bit version
### Related projects:
- [PyJadx](https://github.com/romainthomas/pyjadx) - python binding for jadx by [@romainthomas](https://github.com/romainthomas)
### Building jadx from source
JDK 8 or higher must be installed:
git clone https://github.com/skylot/jadx.git
cd jadx
./gradlew dist
(on Windows, use `gradlew.bat` instead of `./gradlew`)
Scripts for run jadx will be placed in `build/jadx/bin`
and also packed to `build/jadx-<version>.zip`
### macOS
You can install using brew:
brew install jadx
### Run
Run **jadx** on itself:
cd build/jadx/
bin/jadx -d out lib/jadx-core-*.jar
# or
bin/jadx-gui lib/jadx-core-*.jar
### Usage
```
jadx[-gui] [options] <input file> (.apk, .dex, .jar, .class, .smali, .zip, .aar, .arsc)
options:
-d, --output-dir - output directory
-ds, --output-dir-src - output directory for sources
-dr, --output-dir-res - output directory for resources
-j, --threads-count - processing threads count
-r, --no-res - do not decode resources
-s, --no-src - do not decompile source code
--single-class - decompile a single class
--output-format - can be 'java' or 'json' (default: java)
-e, --export-gradle - save as android gradle project
--show-bad-code - show inconsistent code (incorrectly decompiled)
--no-imports - disable use of imports, always write entire package name
--no-debug-info - disable debug info
--no-inline-anonymous - disable anonymous classes inline
--no-replace-consts - don't replace constant value with matching constant field
--escape-unicode - escape non latin characters in strings (with \u)
--respect-bytecode-access-modifiers - don't change original access modifiers
--deobf - activate deobfuscation
--deobf-min - min length of name, renamed if shorter (default: 3)
--deobf-max - max length of name, renamed if longer (default: 64)
--deobf-rewrite-cfg - force to save deobfuscation map
--deobf-use-sourcename - use source file name as class name alias
--rename-flags - what to rename, comma-separated, 'case' for system case sensitivity, 'valid' for java identifiers, 'printable' characters, 'none' or 'all'
--fs-case-sensitive - treat filesystem as case sensitive, false by default
--cfg - save methods control flow graph to dot file
--raw-cfg - save methods control flow graph (use raw instructions)
-f, --fallback - make simple dump (using goto instead of 'if', 'for', etc)
-v, --verbose - verbose output
--version - print jadx version
-h, --help - print this help
Example:
jadx -d out classes.dex
jadx --rename-flags "none" classes.dex
jadx --rename-flags "valid,printable" classes.dex
```
These options also worked on jadx-gui running from command line and override options from preferences dialog
### Troubleshooting
##### Out of memory error:
- Reduce processing threads count (`-j` option)
- Increase maximum java heap size:
* command line (example for linux):
`JAVA_OPTS="-Xmx4G" jadx -j 1 some.apk`
* edit 'jadx' script (jadx.bat on Windows) and setup bigger heap size:
`DEFAULT_JVM_OPTS="-Xmx2500M"`
---------------------------------------
*Licensed under the Apache 2.0 License*
*Copyright 2018 by Skylot*
没有合适的资源?快使用搜索试试~ 我知道了~
温馨提示
JADX最新版本,支持中文,2019年8月31日编译,JVM内存已经修改为8G,运行请点击bin目录下的jadx-gui.bat。 如需修改内存,请修改-Xmx8g字段。 @rem Add default JVM options here. You can also use JAVA_OPTS and JADX_GUI_OPTS to pass JVM options to this script. set DEFAULT_JVM_OPTS="-Xms128M" "-Xmx8g" "-Dawt.useSystemAAFontSettings=lcd" "-Dswing.aatext=true" "-XX:+UseG1GC"
资源推荐
资源详情
资源评论
收起资源包目录
jadx-dev.zip (44个子文件)
lib
failureaccess-1.0.1.jar 5KB
jadx-gui-dev.jar 459KB
commons-text-1.6.jar 193KB
android-29-clst.jar 75KB
jadx-core-dev.jar 3.34MB
jsr305-3.0.2.jar 19KB
antlr-runtime-3.5.2.jar 164KB
annotations-17.0.0.jar 19KB
smali-2.2.7.jar 286KB
guava-28.0-jre.jar 2.62MB
jcommander-1.74.jar 82KB
apksig-3.4.1.jar 272KB
jfontchooser-1.0.5.jar 16KB
error_prone_annotations-2.3.2.jar 13KB
android-29-res.jar 107KB
slf4j-api-1.7.26.jar 40KB
rxjava-2.2.10.jar 2.25MB
reactive-streams-1.0.2.jar 2KB
checker-qual-2.8.1.jar 196KB
image-viewer-1.2.3.jar 63KB
rxjava2-swing-0.3.7.jar 112KB
stringtemplate-3.2.1.jar 145KB
antlr-2.7.7.jar 435KB
logback-classic-1.2.3.jar 284KB
baksmali-2.2.7.jar 125KB
animal-sniffer-annotations-1.17.jar 3KB
util-2.2.7.jar 26KB
jadx-cli-dev.jar 12KB
rsyntaxtextarea-3.0.3.jar 1.11MB
listenablefuture-9999.0-empty-to-avoid-conflict-with-guava.jar 2KB
dexlib2-2.2.7.jar 1014KB
asm-7.1.jar 112KB
j2objc-annotations-1.3.jar 9KB
commons-lang3-3.9.jar 492KB
gson-2.8.5.jar 236KB
dx-1.16.jar 1013KB
logback-core-1.2.3.jar 461KB
LICENSE 11KB
README.md 5KB
NOTICE 10KB
bin
jadx-gui 7KB
jadx 7KB
jadx.bat 4KB
jadx-gui.bat 4KB
共 44 条
- 1
资源评论
- hanxu20092020-10-16能用,可以打开
YT010_PL
- 粉丝: 9
- 资源: 4
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功