Package Details: android-apktool 2.8.1-2

Git Clone URL: (read-only, click to copy)
Package Base: android-apktool
Description: a tool for reengineering Android apk files
Upstream URL:
Licenses: Apache
Submitter: TamCore
Maintainer: muflone
Last Packager: muflone
Votes: 238
Popularity: 1.14
First Submitted: 2010-10-25 15:09 (UTC)
Last Updated: 2023-08-09 10:14 (UTC)

Dependencies (3)

Sources (2)

Pinned Comments

muflone commented on 2023-08-06 15:46 (UTC)

since version 2.8.1-1 android-apktool is built from sources

Latest Comments

1 2 3 4 5 6 Next › Last »

muflone commented on 2023-08-09 10:15 (UTC)

@14mRh4X0r nice catch, fixed

14mRh4X0r commented on 2023-08-09 08:41 (UTC)

Please consider adding --no-daemon to the gradle invocation. The daemon is meant to speed up consecutive builds (i.e. has no benefit), and leaves a Java process running in the background after packaging.

muflone commented on 2023-08-06 15:46 (UTC)

since version 2.8.1-1 android-apktool is built from sources

jnbrains commented on 2023-08-04 10:26 (UTC)

@bemxio thanks for the suggestion. The bin package was created and added to AUR. I'll wait a bit to see if there is any traction or issue with it, and then try to request a merge.

bemxio commented on 2023-08-02 16:28 (UTC)

@jnbrains I think it will be best to make the android-apktool-bin package and then send a merge request for this package. I can join as a co-maintainer, too!

jnbrains commented on 2023-07-31 10:10 (UTC) (edited on 2023-07-31 10:16 (UTC) by jnbrains)

Here's an example for the updated version (2.8.1) with few minor fixes/cleanups:

# Maintainer: Muflone
# Contributor: navigaid <>

pkgdesc='A tool for reverse engineering Android apk files'
conflicts=('android-apktool' 'android-apktool-git')

package() {
  install -Dm 0755 "${srcdir}/apktool" "${pkgdir}/usr/bin/apktool"
  install -Dm 0644 "${srcdir}/apktool_${pkgver}.jar" "${pkgdir}/usr/share/${pkgname}/apktool.jar"
  • the package name should end with -bin, as it comes as a prebuilt jar
  • apktool can be easily distributed with PKGBUILD, with the 'libdir' change applied. The script hasn't been updated since 2015, and I don't expect it to be. That way you get one less external dependency and better control of arch specific setup.
  • no need to waste time/resources to extract the jar file, as it's going to be used as it is.


0xd13ad10c commented on 2022-12-31 20:52 (UTC)

@muflone Latest version is v2.7.0. Patch is below.

 # Contributor: navigaid <>

 pkgdesc="a tool for reengineering Android apk files"
@@ -11,7 +11,7 @@ license=('Apache')

 prepare() {

jamazi commented on 2022-07-16 18:58 (UTC) (edited on 2022-07-16 18:59 (UTC) by jamazi)

@Muflone please update to v2.6.1

heisenbugs commented on 2022-07-01 09:41 (UTC)

In addition to updating the package to 2.6.1, the source for apktool-install-linux-r04-brut1.tar.bz2 may need to be changed. When I tried installing just now was down. The file is currently still available at: