Creating a Keystore File


In order to submit your tested and debugged Android app to an app store such as Google Play, you need to create a keystore file, which code signs your app.

To create a new keystore file with one or more certificates that you can use to sign Android applications:

  1. Open the Create a new Keystore/Alias wizard:
    1. Select Tools > Options > Environment Options > Provisioning.
    2. In the Build Type field, select the Android - Application Store build type.
    3. Click New Keystore.
  2. On the New keystore information page, enter the data about your new keystore file:
    1. In File, click the ellipsis (...) button and select the path where you want to store your new keystore file.
    2. Enter in Password and Confirm Password a password to protect your new keystore file.
    3. Click Next to continue.
  3. On the New key alias information page, enter the data about a new certificate to add to your new keystore file:
    1. In Alias, enter a name that uniquely identifies your new certificate.
    2. Enter in Password and Confirm Password a password to protect your new certificate.
    3. Optionally, change the value in Validity (days) and fill the remaining fields.
    4. Click Finish to generate your new keystore file.

RAD Studio automatically fills the required fields of the Provisioning page with the data of your new keystore file and certificate.

Warning: You must store your keystore file in a safe place, and make sure that you do not forget the password of the keystore or the certificates within. Application stores such as Google Play require that new versions of your applications are signed with the same keystore and certificate as the first version of your application.

See Also