Configuring App Information in AppGallery Connect

Before you start developing an app, configure app information in AppGallery Connect.

Registering as a Developer

Before you get started, you must register as a Huawei developer and complete identity verification on HUAWEI Developers. For details, please refer to Registration and Verification.

Creating an App

Create an app by following instructions in Creating an AppGallery Connect Project and Adding an App to the Project.

Generating a Signing Certificate Fingerprint

The signing certificate fingerprint is used to verify the authenticity of an app. Before releasing an app, you must generate a signing certificate fingerprint locally based on the signing certificate and configure it in AppGallery Connect.

Before you do this, make sure that the following conditions are met:

To generate a signing certificate fingerprint, perform the following steps:

  • Windows
    1. Open the command-line interface (CLI) using the cmd command, and run the cd command to go to the directory where keytool.exe is located. In the following example, the JDK is installed in the Program Files folder in drive C.
      cd C:\Program Files\Java\jdk\bin
    2. Run keytool -list -v -keystore <keystore-file> and respond as prompted. In the command, <keystore-file> indicates the absolute path to the app's signing certificate.

      Example:

      keytool -list -v -keystore C:\TestApp.jks
    3. Obtain the SHA-256 certificate fingerprint.

  • macOS
    1. Open Terminal.

    2. Run keytool -list -v -keystore <keystore-file> and respond as prompted. In the command, <keystore-file> indicates the absolute path to the app's signing certificate.

      Example:

      keytool -list -v -keystore /Users/admin/Downloads/HmsDemo.jks
    3. Obtain the SHA-256 certificate fingerprint.

Configuring the Signing Certificate Fingerprint

  1. Sign in to AppGallery Connect and click My projects.
  2. Find your app project, and click the desired app name.
  3. Go to Project settings > General information. In the App information area, click the icon next to SHA-256 certificate fingerprint, and enter the obtained SHA-256 certificate fingerprint.

  4. After completing the configuration, click .
搜索
请输入您想要搜索的关键词