An Eclipse plugin of Dex2Jar.
Original project source from: https://code.google.com/p/dex2jar/
Adapted from: https://code.google.com/p/dex2jar/wiki/BuildFromSource
-
git clone [email protected]:questionablecode/dex2jar-plugin.git
-
cd dex2jar-plugin
-
mvn install
After building Dex2Jar using maven, extract the contents of /dex-tools/dex2jar-0.0.x.x-SNAPSHOT.zip
to a folder. In Eclipse select File
> New
> Other...
> Plug-in Development
> Plug-in from Existing JAR Archives
> Next
> Add External...
.
Select the .jar
files in the dex2jar-0.0.x.x-SNAPSHOT/lib
folder and press Next
. Enter com.googlecode.dex2jar
for the Project name. Enter com.googlecode.dex2jar
for the Plugin-in ID. Enter the version number followed by .qualifier
(ie 0.9.16.qualifier
) for the Plug-in version. Enter a Plug-in vendor name. Press Finish
.
Edit the plugin manifest and export the following packages com.googlecode.dex2jar.tools
, com.googlecode.dex2jar.util
, com.googlecode.dex2jar.v3
and any others required by your dependent project. You can get a good idea of what packages to export by looking at the shell scripts included with the compiled JAR files.
com.googlecode.dex2jar.v3.Main.doFile(File dexFile, File jarFile)
See https://code.google.com/p/dex2jar/w/list for more usage options.