Skip to content

[BUG] Exception in thread "main" trying to re-build Launcher3QuickStep.apk #4180

Description

@532910

Information

  1. Apktool Version 3.0.3
  2. Operating System Linux
  3. APK From? ROM
  4. Java Version openjdk 27-ea

Stacktrace/Logcat

% java -jar apktool_3.0.3.jar b Launcher3QuickStep
I: Using Apktool 3.0.3 on Launcher3QuickStep.apk with 8 threads
I: Copying raw classes.dex...
I: Copying raw classes2.dex...
I: Building resources with aapt2...
W: Launcher3QuickStep/res/values/colors.xml:28: error: resource android:color/shade_panel_bg is private.
W: Launcher3QuickStep/res/values/colors.xml:29: error: resource android:color/shade_panel_fg is private.
W: Launcher3QuickStep/res/values/dimens.xml:170: error: resource android:dimen/config_wallpaperMinScale is private.
W: Launcher3QuickStep/res/values/dimens.xml:1009: error: resource android:dimen/secondary_content_alpha_device_default is private.
W: Launcher3QuickStep/res/values/dimens.xml:1329: error: resource android:dimen/search_view_preferred_width is private.
W: Launcher3QuickStep/res/values/dimens.xml:1330: error: resource android:dimen/navigation_bar_gesture_larger_height is private.
W: Launcher3QuickStep/res/values/dimens.xml:1337: error: resource android:dimen/text_size_medium_material is private.
W: Launcher3QuickStep/res/values/dimens.xml:1349: error: resource android:dimen/text_size_menu_header_material is private.
W: Launcher3QuickStep/res/values/strings.xml:632: error: resource android:string/config_headlineFontFamilyMedium is private.
W: Launcher3QuickStep/res/values/styles.xml:16: error: resource android:color/shade_panel_scrim_color is private.
W: Launcher3QuickStep/res/values/styles.xml:17: error: resource android:color/surface_effect_2 is private.
W: Launcher3QuickStep/res/values/styles.xml:18: error: resource android:color/surface_effect_0 is private.
W: Launcher3QuickStep/res/values/styles.xml:19: error: resource android:color/surface_effect_2 is private.
W: Launcher3QuickStep/res/values/styles.xml:20: error: resource android:color/surface_effect_1 is private.
W: Launcher3QuickStep/res/values/styles.xml:22: error: resource android:color/surface_effect_2 is private.
W: Launcher3QuickStep/res/values/styles.xml:23: error: resource android:color/surface_effect_1 is private.
W: Launcher3QuickStep/res/values/styles.xml:24: error: resource android:color/surface_effect_3 is private.
W: Launcher3QuickStep/res/values/styles.xml:25: error: resource android:color/surface_effect_2 is private.
W: Launcher3QuickStep/res/values/styles.xml:16: error: resource android:color/shade_panel_scrim_color is private.
W: Launcher3QuickStep/res/values/styles.xml:17: error: resource android:color/surface_effect_2 is private.
Exception in thread "main" brut.androlib.exceptions.AndrolibException: brut.common.BrutException: Execution failed (exit code = 1): [/tmp/aapt2_177699330197638178538541427768064633160.tmp, link, -o, /tmp/APKTOOL15686565646895395010.tmp, --manifest, Launcher3QuickStep/AndroidManifest.xml, --min-sdk-version, 36, --target-sdk-version, 36, --version-code, 36, --version-name, 16, --package-id, 127, --enable-sparse-encoding, --enable-compact-entries, --feature-flags, com.android.window.flags.grant_manage_key_gestures_to_recents=true, --no-auto-version, --no-version-vectors, --no-version-transitions, --no-resource-deduping, --no-compile-sdk-metadata, --warn-manifest-validation, -I, /home/sergio/.local/share/apktool/framework/1.apk, Launcher3QuickStep/build/resources.zip]
	at brut.androlib.res.AaptInvoker.invoke(SourceFile:186)
	at brut.androlib.ApkBuilder.buildResources(SourceFile:357)
	at brut.apktool.Main.main(SourceFile:92)
Caused by: brut.common.BrutException: Execution failed (exit code = 1): [/tmp/aapt2_177699330197638178538541427768064633160.tmp, link, -o, /tmp/APKTOOL15686565646895395010.tmp, --manifest, Launcher3QuickStep/AndroidManifest.xml, --min-sdk-version, 36, --target-sdk-version, 36, --version-code, 36, --version-name, 16, --package-id, 127, --enable-sparse-encoding, --enable-compact-entries, --feature-flags, com.android.window.flags.grant_manage_key_gestures_to_recents=true, --no-auto-version, --no-version-vectors, --no-version-transitions, --no-resource-deduping, --no-compile-sdk-metadata, --warn-manifest-validation, -I, /home/sergio/.local/share/apktool/framework/1.apk, Launcher3QuickStep/build/resources.zip]
	at brut.util.OS.exec(SourceFile:147)
	at brut.androlib.res.AaptInvoker.invoke(SourceFile:183)
	... 2 more

Steps to Reproduce

  1. java -jar apktool_3.0.3.jar d --no-src Launcher3QuickStep.apk
  2. java -jar apktool_3.0.3.jar b Launcher3QuickStep

APK

http://sergio.outerface.net/misc/Launcher3QuickStep.apk

Questions to ask before submission

  1. Have you tried apktool d, apktool b without changing anything?
    yes, as it shown on Steps to Reproduce
  2. Are you using the latest apktool version?
    yes

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions