Package Details: android-apktool-git 2.2.4.r5.g2f387288-2

Git Clone URL: (read-only, click to copy)
Package Base: android-apktool-git
Description: a tool for reengineering Android apk files
Upstream URL:
Licenses: Apache
Conflicts: android-apktool
Submitter: Manouchehri
Maintainer: Depau
Last Packager: Depau
Votes: 4
Popularity: 0.000152
First Submitted: 2013-11-01 22:16
Last Updated: 2020-04-13 22:19

Dependencies (6)

Required by (0)

Sources (1)

Latest Comments

1 2 Next › Last »

Hattshire commented on 2021-06-08 21:35

Using repo's community/gradle breaks the build, I suggest going back to Gradle wrapper.

> Task :brut.apktool:apktool-lib:processResources FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':brut.apktool:apktool-lib:processResources'.
> Entry properties/ is a duplicate but no duplicate handling strategy has been set. Please refer to for details.

Also, proguard needs maximum java v58.0 (JDK14):

> Task :brut.apktool:apktool-cli:proguard FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':brut.apktool:apktool-cli:proguard'.
> Can't read [/usr/lib/jvm/java-15-openjdk/jmods/java.base.jmod(;;;;;;;!**.jar;!module-info.class)] (Can't process class [java/lang/CharacterData00.class] (Unsupported version number [59.0] (maximum 58.0, Java 14)))

It built succesfully using Gradle wrapper and java=jdk11-openjdk.

cameel commented on 2020-04-11 17:08

Some improvement suggestions regarding the PKBUILD:

  • By default gradle starts a daemon and leaves it running in the background. Great for development but completely unnecessary when we're just building a package. You can use --no-daemon to disable it.

  • I'm not sure what's the official Arch recommendation about Gradle Wrapper, but gradle 6.3 from the official repos works just fine. I even unpacked the .jars built with and without the wrapper to make sure and the contents were identical byte-for-byte. You could add gradle to makedepends and prevent the unnecessary download of for those who already have it installed.

So, to summarize, I would suggest changing the build command to:

gradle build proguard --no-daemon

yan12125 commented on 2018-06-18 15:35

Disowned as I use android-apktool instead.

yan12125 commented on 2017-03-24 14:49

Target "applyPatches" is no longer in the latest git master.

* What went wrong:
Task 'applyPatches' not found in root project 'Apktool'.

Removing this line brings a working PKGBUILD, and apparently the resultant package works fine.

Manouchehri commented on 2015-12-16 19:01


HaoZeke commented on 2015-12-04 14:16

Hey, please update the build() portion to include
./gradlew applyPatches

Manouchehri commented on 2015-10-08 18:19

I'm already using that repository?

MreDD commented on 2015-10-08 17:35

his work has been moved to github.

Manouchehri commented on 2015-03-12 20:50

Version bump. Is everyone okay with the version name or would you prefer if I shortened it?

Manouchehri commented on 2014-12-09 04:22

Fixed the version number again.