• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!

Configuring App Information in AppGallery Connect

Search This thread

XDARoni

XDA Community Manager
This thread describes the preparation procedures for configuring your app information in AppGallery Connect.


1. Configuring App Information in AppGallery Connect
Before you start developing an app, configure app information in AppGallery Connect.
1.1 Registering as a Developer
Before you get started, you must register as a HUAWEI developer and complete identity verification on the HUAWEI Developer website. For details, please refer to Register a HUAWEI ID.

1.2 Creating an App
Create an app by referring to Creating a Project and Creating an App in the Project. Special configurations for a game app are as follows:
l Platform: Select Android.

l Device: Select Mobile phone.

l App category: Select App.

1.3 Generating a Signing Certificate Fingerprint
A signing certificate fingerprint is used to verify the authenticity of an app when it attempts to access an HMS Core through the HMS SDK. Before using the HMS Core, you must locally generate a signing certificate fingerprint and configure it in AppGallery Connect.

Please ensure that the following conditions are met:

l You have created the app's signature file.

l The JDK has been installed on your PC.

Perform the following steps:

1. Open the command line tool (using the cmd command) and run the cd command to go to the directory where keytool.exe is located. In the following example, the Java program is installed in Program Files (x86) in the C drive.
PYzziJ5.png

2. Run keytool -list -v -keystore <keystore-file> and respond as prompted.

In the preceding command, <keystore-file> is the complete path to the app's signature file.

Example:
Code:
C:\Program Files (x86)\Java\jdk1.7.0_25\bin>keytool -list -v -keystore
E:\HMS_SDK_2.5.1.300\Sample\HMSSdkSample_2.5.1.300_AS\HmsSample\android.keystore.jks
3. Obtain the SHA-256 fingerprint from the result.
1bE6CME.png

1.4 Configuring the Signing Certificate Fingerprint
  1. Sign in to AppGallery Connect and select My projects.
  2. Find your project from the project list and click the app on the project card.
  3. On the Project Setting page, set SHA-256 certificate fingerprint to the SHA-256 fingerprint that is generated from the preceding section of Generating a Signing Certificate Fingerprint.
HkiRjaA.png

4. After completing configuration, click the check mark.

1.5 Enabling Required Services
l To use the Drive service, you must also enable the Account and Push services.

For details, please refer to Enabling Services.