FreeSoft
English EN

Documentation

Android signing for PhoneGap Build

Original android signing for phonegap build instructions, examples and requirements from the archived project documentation.

Recovered documentationHistorical reference
Archive note. Historical reference. PhoneGap tools and the former Adobe services are no longer maintained as described in the original material. Recovered text and newly written explanations are identified below; consult current platform documentation for active development.

Historical workflow

The recovered instructions below explain the former PhoneGap workflow. PhoneGap Build is closed, and old account, upload and signing operations no longer run on the hosted service. PhoneGap Build archive.

Original source: 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

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

Keystore Password 2

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

Alias password

  1. 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)

Unlocking

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

Sources & archive notes

Recovered repository material is attributed to its original authors and distributed with its source license. Changes: FreeSoft layout, archive context, navigation, link and image locations. Apache License 2.0 · Notices and provenance. Editorial material is labeled separately.