Command: sudo apt-get install apktool
Common Issue: If you run the command apktool on Kali Linux and see the version 2.6.1-dirty.
Please update apktool to the latest version using https://apktool.org/docs/install/
The package maintainers have been contacted for this issue and hopefully it resolved soon!