getting error in apktool

I: Building resources…
W: aapt: brut.common.BrutException: brut.common.BrutException: Could not extract resource: /prebuilt/linux/aapt_64 (defaulting to $PATH binary)
W: res/drawable/$avd_hide_password__0.xml: Invalid file name: must contain only [a-z0-9_.]
W: res/drawable/$avd_hide_password__1.xml: Invalid file name: must contain only [a-z0-9_.]
W: res/drawable/$avd_hide_password__2.xml: Invalid file name: must contain only [a-z0-9_.]
W: res/drawable/$avd_show_password__0.xml: Invalid file name: must contain only [a-z0-9_.]
W: res/drawable/$avd_show_password__1.xml: Invalid file name: must contain only [a-z0-9_.]
W: res/drawable/$avd_show_password__2.xml: Invalid file name: must contain only [a-z0-9_.]
brut.androlib.AndrolibException: brut.common.BrutException: could not exec (exit code = 1): [aapt, p, --min-sdk-version, 14, --target-sdk-version, 29, --version-code, 10908000, --version-name, 1.9.8-oss, --no-version-vectors, -F, /tmp/APKTOOL6313295765478238435.tmp, -0, resources.arsc, -0, png, -0, ogg, -0, arsc, -I, /root/.local/share/apktool/framework/1.apk, -S, /tmp/d20230131-4290-b7bght/original/res, -M, /tmp/d20230131-4290-b7bght/original/AndroidManifest.xml]
[*] Unable to rebuild apk. Trying rebuild with AAPT2…
[-] I: Using Apktool 2.5.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: /tmp/d20230131-4290-b7bght/original/res/values/public.xml:1697: error: resource ‘drawable/$avd_hide_password__0’ has invalid entry name ‘$avd_hide_password__0’. Invalid character ‘$avd_hide_password__0’.
W: /tmp/d20230131-4290-b7bght/original/res/values/public.xml:1698: error: resource ‘drawable/$avd_hide_password__1’ has invalid entry name ‘$avd_hide_password__1’. Invalid character ‘$avd_hide_password__1’.
W: /tmp/d20230131-4290-b7bght/original/res/values/public.xml:1699: error: resource ‘drawable/$avd_hide_password__2’ has invalid entry name ‘$avd_hide_password__2’. Invalid character ‘$avd_hide_password__2’.
W: /tmp/d20230131-4290-b7bght/original/res/values/public.xml:1700: error: resource ‘drawable/$avd_show_password__0’ has invalid entry name ‘$avd_show_password__0’. Invalid character ‘$avd_show_password__0’.
W: /tmp/d20230131-4290-b7bght/original/res/values/public.xml:1701: error: resource ‘drawable/$avd_show_password__1’ has invalid entry name ‘$avd_show_password__1’. Invalid character ‘$avd_show_password__1’.
W: /tmp/d20230131-4290-b7bght/original/res/values/public.xml:1702: error: resource ‘drawable/$avd_show_password__2’ has invalid entry name ‘$avd_show_password__2’. Invalid character ‘$avd_show_password__2’.
W: /tmp/d20230131-4290-b7bght/original/res/values/public.xml: error: file failed to compile.
brut.androlib.AndrolibException: brut.common.BrutException: could not exec (exit code = 1): [aapt2, compile, --dir, /tmp/d20230131-4290-b7bght/original/res, --legacy, -o, /tmp/d20230131-4290-b7bght/original/build/resources.zip]
Error: Unable to rebuild apk with apktool

i was using apkbinder script it uses apktool to bind payload and original app and i got this error
my hardware and software info:
OS: Parrot OS 5.1 (Electro Ara) x86_6
Kernel: 6.0.0-12parrot1-amd64
Uptime: 46 mins
Packages: 3259 (dpkg)
Shell: bash 5.1.4
Resolution: 1440x900
WM: Metacity (Marco)
Theme: ARK-Dark [GTK2/3]
Icons: ara [GTK2/3]
Terminal: mate-terminal
CPU: AMD A6-7480 Radeon R5 2C+6G (2)
GPU: AMD ATI Radeon R5/R6/R7 Graphics
Memory: 1564MiB / 7399MiB

apktool
Apktool v2.5.0-dirty - a tool for reengineering Android apk files
with smali v2.4.0-debian and baksmali v2.4.0-debian

metasploit
Framework Version: 6.2.32-dev

anyone has solutions