Package Details: android-apktool 2.11.1-2

Git Clone URL: https://aur.archlinux.org/android-apktool.git (read-only, click to copy)
Package Base: android-apktool
Description: a tool for reengineering Android apk files
Upstream URL: https://github.com/iBotPeaches/Apktool
Licenses: Apache-2.0
Submitter: TamCore
Maintainer: Muflone
Last Packager: Muflone
Votes: 249
Popularity: 1.28
First Submitted: 2010-10-25 15:09 (UTC)
Last Updated: 2025-03-23 18:14 (UTC)

Dependencies (3)

Sources (1)

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 8 Next › Last »

hamelg commented on 2023-11-11 14:59 (UTC)

@muflone The error was that it couldn't find the javadoc command. JDK binaries were missing in my current Java environment. I installed the correct openjdk package to resolve the error.

patlefort commented on 2023-11-07 03:10 (UTC)

@muflone: Thanks for the clarification. Also I solved my problem, I forgot to set the locale when executing builds inside my container and that particular file contains a special unicode character.

Muflone commented on 2023-11-06 21:31 (UTC)

@patlefort

the apktool-install-linux-r04-brut1.tar.bz2 file contains only two files: apktool which is a bash script used to execute the built java software and aapt (Android Asset Packaging Tool) which is NOT installed nor executed by this package

so definitively the archive is used only for the bash script which executes apktool.jar

In the next updates I'll try to remove this script and the apktool-install-linux-r04-brut1.tar.bz2

Muflone commented on 2023-11-06 20:15 (UTC)

@hamelg and @patlefort what Java version are you using? Here builds fine in chroot

hamelg commented on 2023-11-06 18:54 (UTC)

Here, it fails with another error.

> Task :brut.j.common:javadoc FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':brut.j.common:javadoc'.
> Javadoc generation failed. Generated Javadoc options file (useful for troubleshooting): '/home/xxxxxx/.cache/yay/android-apktool/src/Apktool-2.9.0/brut.j.common/build/tmp/javadoc/javadoc.options'

patlefort commented on 2023-11-06 02:08 (UTC)

That apktool-install-linux-r04-brut1.tar.bz2 file contains binaries, what are they used for? Also there is an issue when compiling in a container:

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':brut.apktool:apktool-lib:processTestResources'.
> Cannot access input property 'rootSpec$1' of task ':brut.apktool:apktool-lib:processTestResources'. Accessing unreadable inputs or outputs is not supported. Declare the task as untracked by using Task.doNotTrackState(). For more information, please refer to https://docs.gradle.org/8.4/userguide/incremental_build.html#disable-state-tracking in the Gradle documentation.
   > Failed to create MD5 hash for file '/pkgbuild/android-apktool/src/Apktool-2.9.0/brut.apktool/apktool-lib/src/test/resources/aapt1/testapp/assets/unicode-txt/???-unicode.txt' as it does not exist.

Seems to have something to do with tests. Can these be disabled?

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.