I am trying to use apktool to rename the manifest package of an apk. I've done this in the past and I don't know what changed but now I can't seem to run any .jar files. Any time I try I get an unable to access jar file error.
This is the command I am doing:
javaw -jar C:\Users\Nosson\New folder apktool.jar d moon.apk.
I've tried other .jar files with the same error. The file is not blocked (though I can't seem to change the batch file from being read only, it keeps switching back). I tried reinstalling Java. Anyone have anything else I can try?
Apktool is a command-line only program without UI.
javawis for starting UI based Java programs that don't make use of command-line/terminal input/output. Therefore javaw does show a command-line window.What happens if you start a command-line only program using
javaw? You won't see anything.So please always use apktool with
javainstead ofjavaw: