Closed xete closed 2 years ago
i had a similar problem but i managed to build it with maven instead: for ubuntu, try this: sudo apt-get install maven mvn clean package
[INFO] dex2jar ........................................... SUCCESS [3.464s] [INFO] Dex Reader API .................................... SUCCESS [15.492s] [INFO] Dex Reader ........................................ SUCCESS [2.103s] [INFO] dex-writer ........................................ SUCCESS [2.730s] [INFO] Dex Instruction Representation .................... SUCCESS [1.909s] [INFO] d2j-base-cmd ...................................... SUCCESS [0.209s] [INFO] d2j-smali ......................................... SUCCESS [18.229s] [INFO] Dex Translator .................................... SUCCESS [17.322s] [INFO] d2j-jasmin ........................................ SUCCESS [4.494s] [INFO] Dex Tools ......................................... SUCCESS [6.792s]
source: https://sourceforge.net/p/dex2jar/wiki/BuildFromSource/
@xete Please update the gradle. I have tested gradle 2.8 which works fine
$ ./gradlew --version
------------------------------------------------------------
Gradle 2.8
------------------------------------------------------------
Build time: 2015-10-20 03:46:36 UTC
Build number: none
Revision: b463d7980c40d44c4657dc80025275b84a29e31f
Groovy: 2.4.4
Ant: Apache Ant(TM) version 1.9.3 compiled on December 23 2013
JVM: 1.7.0_95 (Oracle Corporation 24.95-b01)
OS: Linux 4.4.1-2-ARCH amd64
confirmed, thanks pxb, distro repos are running way behind.
I just try ./gradlew and gradle all, and the following is what it(gradle 2.2) outputs:
Could anyone figure out how to fix it?