Android Signing

**Note**: it is Phonegap Build's policy not to retrieve signing keys for users, for legal reasons. Back them up.

Generating a private key

  1. Download and install Java.

  2. Set Java_Home directory.

  3. Open the command prompt (cmd.exe) as an Administrator, then Run the following command: $ keytool -genkey -v -keystore [keystore_name].keystore -alias [alias_name] -keyalg RSA -keysize 2048 -validity 10000

  4. Keytool will ask for keystore password. Enter password and confirm:

    Keystore Password

  5. Next, keytool will ask for additional information. Supply appropriately:

    Keystore Password 2

  6. Next, keytool will ask password for Alias. Return if it's the same as keystore password. Othewise enter password and confirm:

    Alias password

  7. Your signing key is now ready to submit:

    Submit signing key

Submitting your key to Build

Go to your Account > Edit Setting > Signing Key's tab.

Edit signing keys

Click 'add a key...', ensuring you use the same alias used when you generated your key.

Add info

Unlocking your key

Go to your Account > Edit Setting > Signing Key's tab:

Signing Keys

Click unlock button and supply the the certificate password (from step #6 above) and the keystore password (from step #4 above)


Lastly, either set your key to be default using the checkbox in the keys list, or in your individual application's details, select the key you've uploaded and unlocked.

More info

Edit this page on GitHub