Apktool
Apktool copied to clipboard
[BUG] apktool.bat %java_exe% error
Information
- Apktool Version (
v2.6.1) - - Operating System (Windows 11) -
- APK From? (Other) -
Steps to Reproduce
After following installation step from the official and try to run apktool.bat, it will say
'""C:\Program' is not recognized as an internal or external command,
operable program or batch file.
Solving
Find this syntax set java_exe="%JAVA_HOME%\bin\java.exe" and remove double quote set java_exe=%JAVA_HOME%\bin\java.exe
Hmm. Worked on my side, will have to dig into it in more details.
I can reproduce this issue as well! The given solution worked.
Was resolved here - https://github.com/iBotPeaches/Apktool/commit/63a8d092d891f0c261b3355a360ab4c1ad8790c4