Version: 2023.2
Add keys to a keystore
Developing for Android

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 Android Publishing Settings.
  2. Under the Project Keystore heading, enable Custom Keystore.
  3. Click the drop-down below Custom Keystore.
  4. Select Browse 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, Unity 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 Android Publishing Settings.
  2. Under the Project Key heading, set Alias to the key you want to use.
  3. In the Password property field, enter the password for the key.

其他资源

Add keys to a keystore
Developing for Android
Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961