Click here to Skip to main content
15,898,134 members
Please Sign up or sign in to vote.
4.00/5 (1 vote)
See more:
Hello all,

This is the situation:
location of the generated file key:
C:/Software/Android/APK/keytools/key/kill-them-all.keystore

location of the original file to be signed by jarsigner:
C:/Software/Android/APK/keytools/kill-them-all.apk

this is my command line:
C:\Software\Android\APK\keytools\key>C:\"Program Files (x86)"\Java\jdk1.6.0_16\b
in\jarsigner -verbose -keystore key/C:/Software/Android/APK/keytools/key -signed
jar kill-them-all_signed.apk kill-them-all.apk kill-them-all.store

this is the response:
Enter Passphrase for keystore: I enter the password

this is the response:
jarsigner error: java.lang.RuntimeException: keystore load: C:\Software\Android\
APK\keytools\key\key\C:\Software\Android\APK\keytools\key (The filename, directo
ry name, or volume label syntax is incorrect)

The problem is I cannot find the error in my command line.
Posted
Updated 3-Jan-13 18:24pm
v2

1 solution

Change your command line to;

C:\Software\Android\APK\keytools\key>C:\"Program Files (x86)"\Java\jdk1.6.0_16\bin\jarsigner -verbose -keystore kill-them-all.keystore -signed jar kill-them-all_signed.apk kill-them-all.apk kill-them-all.store


You should just give the name to the key store, not the full path.

/Fredrik
 
Share this answer
 
Comments
Georgeasp 4-Jan-13 19:33pm    
Thanks Fredrik,
I'll have a chance to check that code out tomorrow morning.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900