Version: 1.3
语言 : 中文
Add keys to a keystore
Developing for OpenHarmony

Load a keystore

This page explains how to load an existing keystore and select a key from it to use as the project key.

This is relevant if you want to publish your application, because you must provide a key from a keystore when you sign the application.

To load an existing keystore:

  1. Open OpenHarmony Publishing Settings.
  2. Under the Project Keystore heading, enable Custom Keystore.
  3. Click the drop-down below Custom Keystore.
  4. Select Select… to load a keystore from your file system, or select a keystore from below the partition in the UI. The keystores below the partition are those stored in the keystores dedicated location. For more information, see Choose the keystore location.
  5. Enter the password for the keystore in the Password property field. If the password is correct, Tuanjie loads the keystore.

Select a project key

After you load a keystore into your project, select a key from the keystore to use as the project key. To do this:

  1. Open OpenHarmony Publishing Settings.
  2. In the Password property field, enter the password for the key.
  3. After input Password, press Tab to trigger load operation.

Other resource

Add keys to a keystore
Developing for OpenHarmony