Giter Club home page Giter Club logo

dex2jar's Introduction

dex2jar Merge some PR to fix some issues

Downloads

To download latest builds, head to the Releases.

Note: the builds in Releases are automatically built by GitHub Actions.

Project move to SourceForge and Bitbucket and Github

_ Mirror Wiki Downloads Issues
sf https://sourceforge.net/p/dex2jar Wiki Downloads Tickets
bb https://bitbucket.org/pxb1988/dex2jar Wiki Downloads Issues
gh https://github.com/pxb1988/dex2jar Wiki Releases Issues
gc https://code.google.com/p/dex2jar old old old

Build Status Tools to work with android .dex and java .class files

  1. dex-reader/writer: Read/write the Dalvik Executable (.dex) file. It has a light weight API similar with ASM.
  2. d2j-dex2jar: Convert .dex file to .class files (zipped as jar)
  3. smali/baksmali: disassemble dex to smali files and assemble dex from smali files. different implementation to smali/baksmali, same syntax, but we support escape in type desc "Lcom/dex2jar\t\u1234;"
  4. other tools: d2j-decrypt-string

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.

Need help ?

send email to [email protected]

or post on issue trackers list above.

License

Apache 2.0

dex2jar's People

Contributors

pxb1988 avatar geilige avatar barriosnahuel avatar twisterrob avatar sschuberth avatar kcmvp avatar

Stargazers

 avatar Yaroslav avatar  avatar

dex2jar's Issues

java.lang.StringIndexOutOfBoundsException

java.lang.StringIndexOutOfBoundsException: String index out of range: -2 at java.lang.String.substring(String.java:1967) at org.objectweb.asm.signature.SignatureReader.parseType(SignatureReader.java:169) at org.objectweb.asm.signature.SignatureReader.acceptType(SignatureReader.java:130) at org.objectweb.asm.commons.Remapper.mapSignature(Remapper.java:162) at org.objectweb.asm.commons.RemappingClassAdapter.visitField(RemappingClassAdapter.java:90) at org.objectweb.asm.ClassVisitor.visitField(ClassVisitor.java:272) at com.googlecode.d2j.dex.Dex2Asm.convertField(Dex2Asm.java:531) at com.googlecode.d2j.dex.Dex2Asm.convertClass(Dex2Asm.java:482) at com.googlecode.d2j.dex.Dex2Asm.convertClass(Dex2Asm.java:400) at com.googlecode.d2j.dex.Dex2Asm.convertDex(Dex2Asm.java:503) at com.googlecode.d2j.dex.Dex2jar.doTranslate(Dex2jar.java:175) at com.googlecode.d2j.dex.Dex2jar.to(Dex2jar.java:275) at com.googlecode.dex2jar.tools.Dex2jarCmd.doCommandLine(Dex2jarCmd.java:112) at com.googlecode.dex2jar.tools.BaseCmd.doMain(BaseCmd.java:290) at com.googlecode.dex2jar.tools.Dex2jarCmd.main(Dex2jarCmd.java:33)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.