# Android 密钥库

> Explains how to use the Android Keystore Manager to set up keystores that are required to sign an Android application.

密钥库是包含私钥和公钥证书的二进制文件。Android 出于安全原因使用密钥库中的密钥对应用程序进行签名。有关更多信息，请参阅[密钥库、密钥和证书](https://developer.android.com/studio/publish/app-signing#certificates-keystores)。

## Unity 中的 Android 密钥库##android-keystores-in-unity

为了与密钥库连接，Unity 在播放器设置 (Player Settings) 中提供了 Keystore Manager 和属性。您可以使用这些工具来创建、配置或加载 Android 密钥库和密钥。

**注意**：如果使用特定密钥对应用程序进行签名并将应用程序上传到应用商店，则必须使用相同的密钥对应用程序的未来版本进行签名。

| **主题**                                                                                                       | **描述**                                 |
| ------------------------------------------------------------------------------------------------------------ | -------------------------------------- |
| [Keystore Manager 窗口参考](/engine/6000.0/manual/platform-specific/android/getting-started/keystore/manager.md) | 打开并使用 Unity 的 Keystore Manager 窗口。     |
| [创建新密钥库](/engine/6000.0/manual/platform-specific/android/getting-started/keystore/create.md)                 | 使用 Keystore Manager 窗口可创建新密钥库文件并配置其路径。 |
| [将密钥添加到密钥库中](/engine/6000.0/manual/platform-specific/android/getting-started/keystore/add-keys.md)           | 使用 Keystore Manager 窗口可将密钥添加到密钥库中。     |
| [加载密钥库](/engine/6000.0/manual/platform-specific/android/getting-started/keystore/load.md)                    | 使用 Keystore Manager 可加载现有的密钥库。         |

## 其他资源##additional-resources

* [播放器设置 - 发布设置](/engine/6000.0/manual/platform-specific/android/getting-started/class-player-settings.md#Publishing)
