README.md 1.4 KB
Newer Older
S
skylot 已提交
1
## JADX  [![Build Status](https://buildhive.cloudbees.com/job/skylot/job/jadx/badge/icon)](https://buildhive.cloudbees.com/job/skylot/job/jadx/)
S
Skylot 已提交
2 3
**jadx** - Dex to Java decompiler

S
skylot 已提交
4 5
Command line tool for produce Java sources from Android Dex and Jar files

S
skylot 已提交
6
### Downloads
S
skylot 已提交
7
Latest version available at 
S
skylot 已提交
8
[github](https://github.com/skylot/jadx/releases),
S
skylot 已提交
9 10
[sourceforge](http://sourceforge.net/projects/jadx/files/) 
or
S
Skylot 已提交
11
[bintray](http://bintray.com/pkg/show/general/skylot/jadx/jadx-cli)
S
skylot 已提交
12

S
Skylot 已提交
13 14 15 16 17 18
### Build

    git clone https://github.com/skylot/jadx.git
    cd jadx
    ./gradlew build
    
S
skylot 已提交
19
(on Windows, use `gradlew.bat` instead of `./gradlew`)
S
Skylot 已提交
20 21 22 23 24 25 26 27 28 29 30 31

Scripts for run jadx will be placed in `build/install/jadx/bin`
and also packed to `build/distributions/jadx-<version>.zip`

### Run
Run **jadx** on itself:

    cd build/install/jadx/
    bin/jadx -d out lib/jadx-*.jar

### Usage
```
S
skylot 已提交
32
jadx [options] <input files> (.dex, .apk or .jar)
S
Skylot 已提交
33 34 35 36 37 38 39 40 41 42 43 44 45 46 47
options:
 -d, --output-dir     - output directory
 -j, --threads-count  - processing threads count
 -f, --fallback       - make simple dump (using goto instead of 'if', 'for', etc)
     --cfg            - save methods control flow graph
     --raw-cfg        - save methods control flow graph (use raw instructions)
 -v, --verbose        - verbose output
 -h, --help           - print this help
Example:
 jadx -d out classes.dex
```

*Licensed under the Apache 2.0 License*

*Copyright 2013 by Skylot*