Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Unable to access jarfile SignApk

Tags:

android

apk

I'm trying to sign an APK with SignApk, but I keep getting this error:

Error: Unable to access jarfile signapk.jar

I have appended my JDK directory as well as my SignAPK directory to my system path variable. The java command works fine through the command-line, but I can't seem to get the -jar option to work correctly for signing APKs.

My SignApk folder is located on my C:\ drive, so it looks like this: enter image description here

Here is what I am trying to do through the command-line: enter image description here

Please ignore the blank space in between the variables as I was trying to cover up my details. The syntax that I am using is:

java -jar signapk.jar certificate.pem key.pk8 myapk.apk myapk-signed.apk

I have tried the commands from the SignApk directory as well as the bin directory inside of that directory. Can anyone help me troubleshoot how to resolve this issue? Thanks

like image 480
raphnguyen Avatar asked Dec 06 '22 07:12

raphnguyen


2 Answers

As you might notice, there is no signapk.jar file there, there is only signapk without extension.

Download different SignApk from here:

http://www.mediafire.com/download/h5fob1afzt1p4ss/SignApk.rar
Password: SanketN8
like image 149
Nemanja Avatar answered Dec 22 '22 03:12

Nemanja


just download Signapk.zip and unzip wherever you wish, paste your apk inside the signapk folder.

open cmd / terminal , change directory to signapk

java -jar signapk.jar testkey.x509.pem testkey.pk8 test.apk test-signed.apk

copy and replace with you existing file name (test.apk) and output file (test-signed.apk )

signapk.zip - https://drive.google.com/open?id=0ByAytNiwJoUaQ3NvVzlPX0xGUFU

image

like image 25
Aha Avatar answered Dec 22 '22 03:12

Aha