Skip to content
dreamless113 edited this page Aug 12, 2013 · 19 revisions

Adobe® PhoneGap Build™ allows you to sign your Android builds, so they are suitable for submission to the Android Market. To get a release build ready, you first need to generate a signing keystore file. Full details are available below:

Obtaining a suitable 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

Submit to Build

8- Go to your Account > Edit Setting > Signing Key's tab. Edit signing keys

9- Click 'add a key...' and supply the following info.

  • Title => anything
  • Alias => refer step # 3.

Add info

Unlocking the key.

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

11- Click 'lock' button and supply the following:

  • Certificate password => refer step # 6.
  • Keystore password => refer step # 4.

Unlocking


Reference: http://developer.android.com/tools/publishing/app-signing.html#cert

Clone this wiki locally