Skip to content

aapt2 fails to run on the buildserver - AGP 8.12.0-alpha07 is latest compatible

Affected apps under this label: https://gitlab.com/fdroid/fdroiddata/-/merge_requests/?label_name%5B%5D=AGP-8.12.0

Between 8.12.0-alpha07 and 8.12.0-alpha08, aapt2 started to want a CPU that supports BMI1, CPUID, SSE4_1, SSSE3

> Multiple task action failures occurred:

> A failure occurred while executing com.android.build.gradle.internal.res.Aapt2CompileRunnable

> AAPT2 aapt2-8.12.0-13700139-linux Daemon #0: Unexpected error during compile '/home/vagrant/.gradle/caches/9.0.0/transforms/51b8cacc108a5d9b5c1ecf5bd667a4f5/transformed/android-sdk-11.13.0/res/drawable-xxhdpi-v4/maplibre_compass_icon.png', attempting to stop daemon.

This should not happen under normal circumstances, please file an issue if it does.

> A failure occurred while executing com.android.build.gradle.internal.res.Aapt2CompileRunnable

> AAPT2 aapt2-8.12.0-13700139-linux Daemon #1: Unexpected error during compile '/home/vagrant/.gradle/caches/9.0.0/transforms/51b8cacc108a5d9b5c1ecf5bd667a4f5/transformed/android-sdk-11.13.0/res/drawable-xxhdpi-v4/maplibre_logo_icon.png', attempting to stop daemon.

This should not happen under normal circumstances, please file an issue if it does.

> A failure occurred while executing com.android.build.gradle.internal.res.Aapt2CompileRunnable

> AAPT2 aapt2-8.12.0-13700139-linux Daemon #2: Unexpected error during compile '/home/vagrant/.gradle/caches/9.0.0/transforms/1d412f3eb422f5b2231a51d109c4d9d6/transformed/core-1.16.0/res/drawable-hdpi-v4/notification_oversize_large_icon_bg.png', attempting to stop daemon.

This should not happen under normal circumstances, please file an issue if it does.

Google issue: https://issuetracker.google.com/issues/438515318

Upstream issues:

Edited by Licaon_Kter
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information