There is a problem with the apktools tool of Kali (2021.4a, 2022.03)
Uninstall first:
apt-get --purge remove apktool
re-install:
- Download the wrapper script for Linux, and save the file as
apktool
wrapper script https://raw.githubusercontent.com/iBotPeaches/Apktool/master/scripts/linux/apktool - Download the latest version of apktool, renamed to
apktool.jar
find newest here https://bitbucket.org/iBotPeaches/apktool/downloads/ - mobile apktool and
apktool.jar到
/usr/local/bin目录下,赋予执行权限
chmod +x apktool.jar
chmod +x apktool
4. Package and install again