Kali package APK error, Using Apktool 2.xx-dirty org/apache/commons/text/StringEscapeUtils

There is a problem with the apktools tool of Kali (2021.4a, 2022.03)

Uninstall first:

apt-get --purge remove apktool

re-install:

  1. Download the wrapper script for Linux, and save the file as apktool wrapper script https://raw.githubusercontent.com/iBotPeaches/Apktool/master/scripts/linux/apktool
  2. Download the latest version of apktool, renamed to apktool.jarfind newest here https://bitbucket.org/iBotPeaches/apktool/downloads/
  3. mobile apktool andapktool.jar到 /usr/local/bin目录下,赋予执行权限
chmod +x apktool.jar
chmod +x apktool

      4. Package and install again

Guess you like

Origin blog.csdn.net/u011470046/article/details/127942231