ApkRename
ApkRename copied to clipboard
"./apkRename.sh: line 151: jar: command not found"
I have Linux Mint 18.1 Selena installed.
I downloaded ApkRename and ran .
./apkRename.sh
currentnameofapp.apk myDesiredNewName.apk
`~~~~ use newPackageName: myDesiredNewName.apk
~~~~ prepare work dir: ./tmpForApkRename ~~~~ extract AndroidManifest.xml (binary file) ./apkRename.sh: line 151: jar: command not found
Have you installed java jre?
@hub2git you actually need to install jdk. I just had this issue and fixed it.
JRE alone wouldn't work. JDK (the entire kit) has the jar
tool.
On Linux Mint, it should be: sudo apt install openjdk-8-jdk-headless
.