This is Nico Mexis' fork of the dex2jar project which aims to fix most issues.
StringIndexOutOfBoundsException
s relating to signaturesTypeTransformer
related issuesNullPointerException
s and other crashes.param
instead of the outdated .parameter
syntaxThis fork has builds available in the following formats.
You can also only depend on a single module, if needed. The following sections include all the modules.
The builds are available on Maven Central.
<dependency>
<groupId>de.femtopedia.dex2jar</groupId>
<artifactId>dex2jar</artifactId>
<version>VERSION</version>
</dependency>
The builds are available on Maven Central.
implementation 'de.femtopedia.dex2jar:dex2jar:VERSION'
To download the latest builds, head to the Releases.
Note: The builds in Releases are automatically built by GitHub Actions.
Tools to work with android .dex and java .class files
"Lcom/dex2jar\t\u1234;"
./gradlew distZip
cd dex-tools/build/distributions
dex-tools-2.4-SNAPSHOT.zip
d2j-dex2jar.sh
from the unzipped directorysh d2j-dex2jar.sh -f ~/path/to/apk_to_decompile.apk
And the output file will be apk_to_decompile-dex2jar.jar
.
See for example the infamous Bytecode Viewer.
Send an email to nico.mexis@kabelmail.de or post on the issue tracker.