I try to prepare bat file to sign apk file with signapk.jar The syntax of this program is:
java -jar signapk.jar testkey.x509.pem testkey.pk8 <update.apk> <update_signed.apk>
My script looks like this:
java -jar "%~dp0%\SignApk\signapk.jar" "%~dp0%\SignApk\testkey.x509.pem" "%~dp0%\SignApk\testkey.pk8" "%~dp0%\SignApk\%ApkName%.apk" "%~dp0%\SignApk\%ApkName%_sign.apk"
When I execute the script I receive a message "Unable to access jarfile {update_signed.apk}", java "thinks" that is also a jar file and tries to run it..
Someone can help me how to pass arguments to jar file ?
Thanks.