Package Details: dex2jar-git 2.1.nightly.28.r13.gd7a8611-3

Git Clone URL: https://aur.archlinux.org/dex2jar-git.git (read-only, click to copy)
Package Base: dex2jar-git
Description: Tools to work with android .dex and java .class files, git version
Upstream URL: https://github.com/pxb1988/dex2jar
Keywords: android reverse-engineering
Licenses: Apache-2.0
Conflicts: dex2jar
Provides: dex2jar
Submitter: haruue
Maintainer: karmanyaahm (haruue)
Last Packager: karmanyaahm
Votes: 2
Popularity: 0.000000
First Submitted: 2017-08-20 03:37 (UTC)
Last Updated: 2021-08-21 16:22 (UTC)

Dependencies (4)

Required by (1)

Sources (1)

Latest Comments

kevku commented on 2022-08-29 19:07 (UTC)

might want to use https://github.com/ThexXTURBOXx/dex2jar fork instead

karmanyaahm commented on 2021-08-21 16:23 (UTC)

Pushed the fix suggested by @haruue . Sorry for the delay.

haruue commented on 2021-08-07 08:42 (UTC) (edited on 2021-08-07 08:44 (UTC) by haruue)

Just build it with gradle wrapper & jdk8

(sorry for the mistake in the last comment)

diff --git a/PKGBUILD b/PKGBUILD
index 5ebbbe7..fe4ac09 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -11,7 +11,7 @@ conflicts=("${pkgname%-git}")
 provides=("${pkgname%-git}=$pkgver")
 license=('Apache-2.0')
 depends=('java-runtime')
-makedepends=('java-environment>=7' 'git' 'gradle')
+makedepends=('jdk8-openjdk' 'git' 'gradle')
 source=("${pkgname%-git}"::'git+https://github.com/pxb1988/dex2jar')
 md5sums=('SKIP')

@@ -22,7 +22,8 @@ pkgver() {

 build() {
   cd "$srcdir/${pkgname%-git}"
-  gradle clean installDist
+  export JAVA_HOME="/usr/lib/jvm/java-8-openjdk"
+  ./gradlew clean installDist
 }

 package() {

karmanyaahm commented on 2021-08-07 00:19 (UTC)

@deltaclock I'll see if there's any way of getting an older gradle package from the AUR working with this.

deltaclock commented on 2021-08-05 17:59 (UTC)

Seems like there is a problem with gradle 7.

FAILURE: Build failed with an exception.

* Where:
Build file '/home/delta/.cache/yay/dex2jar-git/src/dex2jar/build.gradle' line: 2

* What went wrong:
A problem occurred evaluating root project 'dex2jar'.
> Plugin with id 'maven' not found.

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 379ms
==> ERROR: A failure occurred in build().
    Aborting...
error making: dex2jar-git

karmanyaahm commented on 2020-12-19 06:40 (UTC)

@alissonlauffer fixed that. It'll show downgrading once for the next install presumably due to the difference in commit hashes.

alissonlauffer commented on 2020-12-19 06:24 (UTC)

Can you change pkgver from 2.1.nightly.28.r13.gd7a86110 to 2.1.nightly.28.r13.gd7a8611? The current pkgver uses a 8 character long git hash, where it should be 7 character long. It is making my AUR helper (yay) tell me that there are a new update even if it is updated.