Hi @guriek, we have it documented in our Android building guide:
http://docs.coronalabs.com/guide/distribution/androidBuild/index.html
but you have the command as listed in there, so it seems you’ve read it. Keep in mind, if you do the command as:
sudo keytool -genkey -v -keystore myappname.keystore -alias myappname -keyalg RSA -validity 999999
it’s going to prompt you for your Mac’s login password first. Then it will run the command for you. Here is the dialog from where I just created one. Of course you need to change the values accordingly:
mymacbook:~ rmiracle$ sudo keytool -genkey -v -keystore myappname.keystore -alias myappname -keyalg RSA -validity 999999 Password: \<------- my Mac's login password Enter keystore password: \<------- made up password for the keystore Re-enter new password: \<------ made up password for the keystore a 2nd time What is your first and last name? [Unknown]: Rob Miracle What is the name of your organizational unit? [Unknown]: Developer Relations What is the name of your organization? [Unknown]: Corona Labs What is the name of your City or Locality? [Unknown]: Palo Alto What is the name of your State or Province? [Unknown]: CA What is the two-letter country code for this unit? [Unknown]: US Is CN=Rob Miracle, OU=Developer Relations, O=Corona Labs, L=Palo Alto, ST=CA, C=US correct? [no]: yes Generating 1,024 bit RSA key pair and self-signed certificate (SHA1withRSA) with a validity of 999,999 days for: CN=Rob Miracle, OU=Developer Relations, O=Corona Labs, L=Palo Alto, ST=CA, C=US Enter key password for \<myappname\> \<------------- just hit the ENTER key to use the password above (RETURN if same as keystore password): [Storing myappname.keystore]
This will dump the file into the folder where you ran the command. I went to build with 1150 and it prompted me twice for my keystore password, then finally I had to hit the build button after entering the password a 2nd time, but it worked.