This apktool is working with Hax4us openjdk-8-jre without any issue... note : requirement -->> Metasploit-Framework
git clone https://github.com/remo7777/Termux-Apktool/
cd Termux-Apktool
bash setup
open new session then
type command
termux-chroot
then create payload or use apktool or signapk or java..