[Solved] Issue with jarsigner not recognizing -command

Get help using Construct 2

Post » Sun Mar 22, 2015 9:04 pm

Posted this under the manual, but I don't know if anyone ever reads that unless they are also lost..
Not sure this is the place to put it since it's sorta post production, but..

I've been searching Google for a couple hours with no result.. It's as if jarsigner refuses to recognize the commands..
I'll be completely unable to focus at work tomorrow unless I get this fixed....


Inputting:
Code: Select all
jarsigner -verbose -keystore c:/android/key/charlie.keystore -storepass password -keypass password c:/android/charlie/charlie.apk


returns the jarsigner help menu... tried rearranging everything to no avail..
Image

I CAN use other commands in jarsigner, like checking if my apk is signed, which it ofc is not.. :/ Help please..



The funny part is that i tried this with jdk7 a week ago, and then it was fine.
But removed that and got 6 when I found this tutorial. Working with a new key and compile of my apk

What am I doing wrong now?
Last edited by Crazeh on Mon Mar 23, 2015 5:59 am, edited 1 time in total.
-- Because a pig told me to be nice.
B
11
S
2
G
1
Posts: 29
Reputation: 1,327

Post » Mon Mar 23, 2015 5:58 am

Solved it..

Code: Select all
keytool -genkeypair -validity 10000
keytool -changealias -alias mykey   (changed to charlie)
jarsigner -verbose c:/android/charlie/charlie.apk charlie
zipalign -4 c:/android/charlie/charlie.apk c:/android/charlie/charlie_sa.apk


And voila, it's all in order and should even be published shortly :D
Thnx anyway.
-- Because a pig told me to be nice.
B
11
S
2
G
1
Posts: 29
Reputation: 1,327


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 1 guest