From 09e4ab037d0cc0ee5edc39d1ca3fab015b7f93e1 Mon Sep 17 00:00:00 2001 From: geilige <582102796@qq.com> Date: Sat, 20 Mar 2021 11:47:56 +0800 Subject: [PATCH] pr219 --- README.md | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 641352eda..eef77ea69 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,5 @@ +# dex2jar + # Downloads **To download latest builds, head to the [Releases](https://github.com/geilige/dex2jar/releases).** @@ -13,7 +15,7 @@ | gc | https://code.google.com/p/dex2jar | [old](http://code.google.com/p/dex2jar/w/list) | [old](http://code.google.com/p/dex2jar/downloads/list) | [old](http://code.google.com/p/dex2jar/issues/list)| -#dex2jar [![Build Status](https://travis-ci.org/pxb1988/dex2jar.svg?branch=2.x)](https://travis-ci.org/pxb1988/dex2jar) +[![Build Status](https://travis-ci.org/pxb1988/dex2jar.svg?branch=2.x)](https://travis-ci.org/pxb1988/dex2jar) Tools to work with android .dex and java .class files 1. dex-reader/writer: @@ -27,6 +29,13 @@ Tools to work with android .dex and java .class files ## Usage +1. In the root directory run: ./gradlew distZip +2. cd dex-tools/build/distributions +3. Unzip the file dex-tools-2.1-SNAPSHOT.zip (file size should be ~5 MB) +4. Run d2j-dex2jar.sh from the unzipped directory + +### Example usage: + > sh d2j-dex2jar.sh -f ~/path/to/apk_to_decompile.apk And the output file will be `apk_to_decompile-dex2jar.jar`.