iBotPeaches / Apktool

A tool for reverse engineering Android apk files
https://apktool.org/
Apache License 2.0
20.28k stars 3.59k forks source link

[BUG] #3627

Closed Mebarek0 closed 5 months ago

Mebarek0 commented 5 months ago

I: Using Apktool 2.7.0-dirty I: Checking whether sources has changed... I: Checking whether resources has changed... I: Building resources... W: aapt: brut.common.BrutException: brut.common.BrutException: Could not extract resource: /prebuilt/linux/aapt2_64 (defaulting to $PATH binary) W: error: resource 'drawable/$avd_hide_password0' has invalid entry name '$avd_hide_password0. W: error: resource 'drawable/$avd_hide_password1' has invalid entry name '$avd_hide_password1. W: error: resource 'drawable/$avd_hide_password2' has invalid entry name '$avd_hide_password2. W: error: resource 'drawable/$avd_show_password0' has invalid entry name '$avd_show_password0. W: error: resource 'drawable/$avd_show_password1' has invalid entry name '$avd_show_password1. W: error: resource 'drawable/$avd_show_password2' has invalid entry name '$avd_show_password2. W: /home/kali/Downloads/android/note/res/values/public.xml: error: file failed to compile. brut.androlib.AndrolibException: brut.common.BrutException: could not exec (exit code = 1): [aapt2, compile, --dir, /home/kali/Downloads/android/note/res, --legacy, -o, /home/kali/Downloads/android/note/build/resources.zip]

iBotPeaches commented 5 months ago

Use a more modern version. That was fixed a long time ago. v2.7.0 is years old.