I got this error message
apktool is not recognised as an internal or external command, operable program or batch file
while doing the process provided in Is there a way to get the source code from an APK file?
How can I make it work?
I got this error message
apktool is not recognised as an internal or external command, operable program or batch file
while doing the process provided in Is there a way to get the source code from an APK file?
How can I make it work?
This may be a PATH problem,do this:
PATH=%PATH%;ApkToolPath
ApkToolPath is the directory where apktool is.
BTW, u need to download 2 files: apktool-install-windows-r05-ibot.tar.bz2 and apktool1.5.2.tar.bz2. extract both and put aapt.exe apktoo.bat apktool.jar together.
Update: Download link for all the mentioned tools here
Good luck!
Place aapt.exe, apktool.bat(extracted from apktool-install-windows-r05-ibot) and apktool.jar in same folder. That should solve your problem
In my case when using windows.
Problem : The name of apktool had '.bat' or '.jar' extension and it would seem like its a jar file or its a .bat file
Solution : Windows hides the file extension, So i navigated to 'File Explorer Options' the set 'Hide file extensions for Known file types'.
Then make sure that files have correct file extension (i.e apktool.bat not apktool.bat.txt)
Apktool naming file extensions in windows