In my case this is the java --version after update:
└─# java --version openjdk 17.0.6 2023-01-17 OpenJDK Runtime Environment (build 17.0.6+10-Debian-1) OpenJDK 64-Bit Server VM (build 17.0.6+10-Debian-1, mixed mode, sharing)
Also It was necessary to update the apktool:
I download the last version of this bitbucket:
https://bitbucket.org/iBotPeaches/apktool/downloads/
I download directly in the server:
wget https://bitbucket.org/iBotPeaches/apktool/downloads/apktool_2.7.0.jar
move this file to the directory of Evildroid/tools/:
Delete the old apktool.jar and move the new apktool to this path.
Rename the apktool_2.7.0.jar to apktool.jar.
Modify the documente 'doc.txt' with the new version of apktool.
└─# cat doc.txt
apktool version 2.7.0
I solved the issue to do the next steps:
Kali Linux Version 2023.2:
After to do the steps to clone the repository: Its necessary update the java version:
In my case this is the java --version after update:
└─# java --version openjdk 17.0.6 2023-01-17 OpenJDK Runtime Environment (build 17.0.6+10-Debian-1) OpenJDK 64-Bit Server VM (build 17.0.6+10-Debian-1, mixed mode, sharing)
Also It was necessary to update the apktool: I download the last version of this bitbucket:https://bitbucket.org/iBotPeaches/apktool/downloads/
I download directly in the server:
wget https://bitbucket.org/iBotPeaches/apktool/downloads/apktool_2.7.0.jar
move this file to the directory of Evildroid/tools/: Delete the old apktool.jar and move the new apktool to this path.
Rename the apktool_2.7.0.jar to apktool.jar.
Modify the documente 'doc.txt' with the new version of apktool. └─# cat doc.txt apktool version 2.7.0
Now its working.