Package Details: dex2jar 2.0-1

Git Clone URL: (read-only)
Package Base: dex2jar
Description: Tools to work with android .dex and java .class files
Upstream URL:
Licenses: Apache
Submitter: None
Maintainer: Lekensteyn
Last Packager: Lekensteyn
Votes: 87
Popularity: 0.373688
First Submitted: 2011-02-14 13:02
Last Updated: 2015-06-12 17:04

Latest Comments

Lekensteyn commented on 2017-02-02 12:33

@gabrielsimoes unzip is a workaround, I suggest to vote for instead (just reported)

gabrielsimoes commented on 2017-02-02 12:27

This pkgbuild works:

However, it introduces unzip as dependency. Nothing to worry about, in my opinion. It is better than not working.

Lekensteyn commented on 2017-01-09 23:29

If you have issues extracting the zip, patch libarchive:

Lekensteyn commented on 2016-12-20 18:37

Using unzip should not be needed. I'll investigate libarchive and try to fix that instead.

yan12125 commented on 2016-12-20 18:10

Arch's default decompressor bsdtar is broken for dex2jar. ( I have a working PKGBUILD at Could you update it?

ellcs commented on 2016-05-09 15:08


i got same errors as Kuci. My buildtool is pacaur.

Building via. ''
did work for me.


Lekensteyn commented on 2015-04-15 10:31

@Kuci it works for me. What did you use the build the package? In a directory with just the PKGBUILD and then invoking makepkg produces a package for me.

The_K commented on 2015-04-13 15:34

==> Extracting sources...
-> Extracting with bsdtar
dex2jar-2.0/: Can't replace existing directory with non-directory
dex2jar-2.0/lib/: Can't replace existing directory with non-directory
bsdtar: Error exit delayed from previous errors.
==> ERROR: Failed to extract

Lekensteyn commented on 2015-04-12 13:45

Updated to 2.0, updated homepage and added TODO comment whether d2j-* utils should be installed to /usr/bin/ instead. Tested and it still produces a jar file.

andrewchen commented on 2015-04-08 23:44

Also, please update the project homepage.

andrewchen commented on 2015-04-08 23:42

Version 2.0 available:

Lekensteyn commented on 2013-09-03 08:33

Updated to

Lekensteyn commented on 2013-03-02 23:16

Updated to, using sha1sums now.

Lekensteyn commented on 2012-12-20 09:44

Updated to 0.9.12-a.

Lekensteyn commented on 2012-10-26 12:58

Adopted and updated to 0.9.11. I have also changed the symlink of "dex2jar".

ChristophLSA commented on 2012-10-25 16:41

Sorry, I don't use this package anymore and forgot to update it. I disowned it now. Take your chance and be owner of this wonderfull package. :)

Lekensteyn commented on 2012-08-26 20:09

Request: make `dex2jar` point to /opt/dex2jar/

$ dex2jar
this cmd is deprecated, use the d2j-dex2jar if possible
dex2jar version: translator-
dex2jar file1.dexORapk file2.dexORapk ...
$ dex2jar
convert dex to jar
usage: d2j-dex2jar [options] <file0> [file1 ... fileN]
-d,--debug-info translate debug info
-e,--exception-file <file> detail exception file, default is
-f,--force force overwrite
-n,--not-handle-exception not handle any exception throwed by dex2jar
-o,--output <out-jar-file> output .jar file, default is
-os,--optmize-synchronized optmize-synchronized
-p,--print-ir print ir to Syste.out
-r,--reuse-reg reuse regiter while generate java .class
-s,--topological-sort sort block by topological, that will
generate more readable code
version: reader-1.10, translator-, ir-1.7

Anonymous comment on 2012-07-27 11:49

News version 0.9.9, updated PKGBUILD

# Maintainer: Christoph Giesel <mail at cgiesel dot de>
# Contributor: Andreas Schönfelder <passtschu at freenet dot de>
pkgdesc="A tool for converting Android's .dex format to Java's .class format"

package() {
cd "$srcdir/$pkgname-$pkgver"

mkdir -p "$pkgdir/usr/bin/"
mkdir -p "$pkgdir/opt/dex2jar/lib/"

install -m755 *.sh "$pkgdir/opt/dex2jar/"
install -m644 lib/*.jar "$pkgdir/opt/dex2jar/lib/"

ln -s /opt/dex2jar/ "$pkgdir/usr/bin/dex2jar"

# vim:set ts=2 sw=2 et: