Create keystore problems
pascal83
Member Posts: 14
Hello everyone, when I follow the GameSalad cookbook to setup my Android Publishing, I haven't got any problem until I tried to create a keystore.
As the cookbook says, I type the following commands in terminal "keytool –genkey –v –keystore mykey.keystore –alias myalias –keyalg RSA –keysize 2048 –validity 10000" .
Then first, the terminal $%^&* has encoder problem, I can't see a word. So i do a little search in Google, find out the system send me some simple questions to answer, i typed in black, filled the form, but the last one "IS CN=......, OU=....., O=....., L=....., ST=....., C=CN correct? [no]: " no matter what I entered here, "yes" or "no" or anything else, the system re-asks me all those questions again. All I can do is press "control+c".
Does anybody have a knowledge in this? I have no idea how to make this works
And each app has one of this keystore thing?It means I should create as much keystores as my apps? Or it just a keys or certificates container? Last question, when I try signing an application, where can I find my keystore files?
I'm a newbee in android publishing, plenty of questions, really hope someone can help me here, thank you for everything in advance.
As the cookbook says, I type the following commands in terminal "keytool –genkey –v –keystore mykey.keystore –alias myalias –keyalg RSA –keysize 2048 –validity 10000" .
Then first, the terminal $%^&* has encoder problem, I can't see a word. So i do a little search in Google, find out the system send me some simple questions to answer, i typed in black, filled the form, but the last one "IS CN=......, OU=....., O=....., L=....., ST=....., C=CN correct? [no]: " no matter what I entered here, "yes" or "no" or anything else, the system re-asks me all those questions again. All I can do is press "control+c".
Does anybody have a knowledge in this? I have no idea how to make this works
And each app has one of this keystore thing?It means I should create as much keystores as my apps? Or it just a keys or certificates container? Last question, when I try signing an application, where can I find my keystore files?
I'm a newbee in android publishing, plenty of questions, really hope someone can help me here, thank you for everything in advance.
Comments
Guru Video Channel | Lost Oasis Games | FRYING BACON STUDIOS
Guru Video Channel | Lost Oasis Games | FRYING BACON STUDIOS
Guru Video Channel | Lost Oasis Games | FRYING BACON STUDIOS
Same problem on a mac OSX10.10 in French. The keystore file looks OK: I can check it using the command "keytool -list -keystore .keystore"; it asks for my password and recognizes it just fine (only letters); it returns:
Type Keystore : JKS
Fournisseur Keystore : SUN
Votre Keystore contient 1 entr?e(s)
, 9 juil. 2015, PrivateKeyEntry,
Empreinte du certificat (MD5) :
In the "Signing Your Android App" window in GameSalad, the "Android keystore" has the green checkmark but the "password" field remains with the red stopsign. I am stuck because I can't change the default language on my mac. Is there some language-dependant text in the keystore file that GameSalad fails to parse correctly?
yes, you need your keyboard to be set to english, it's been a problem for awhile now:
https://forums.gamesalad.com/discussion/54819/solution-impossible-apk-sign-in-android-password-wrong-keytool-error-java-io-ioexception
Send and Receive Data using your own Server Tutorial! | Vote for A Long Way Home on Steam Greenlight! | Ten Years Left
Thank you @jonmulcahy !
I forgot to say that I tried changing the keyboard to English before posting my previous message but it did not work.
But changing the computer's language to English did solve the problem. I did not even have to regenerate the keystore file. There is nothing language-dependant or keyboard-dependant in the keystore file after all.
I suspect that GameSalad calls keytool, which returns a language-dependant message, and then GS parses this message and fails when the message is not in English. If this is the case, maybe you GS guys could add the -J-Duser.language=en in the call instruction within GS to force the keytool's output message to English regardless of the host's local settings. Just a thought, in case it would help. http://stackoverflow.com/questions/17646757/how-to-set-default-language-for-java-keytool
Anyway. My first game is working on my Android tablet! I am happy :-)