[Huawei Developers] Freemind R:
When I integrate the HMS Core SDK into my app or game, result code 6003 is always returned during an API call. The official document indicates that this fault is caused by an incorrect signing certificate fingerprint. A signing certificate fingerprint is used to verify the app authenticity.

To locate the fault, perform the following operations:

Ensure that the app's certificate signature is the same as that configured in AppGallery Connect.

Ensure that the appid parameter in the manifest file is correct.

Check whether the app is hardened or re-signed.

Check whether HUAWEI App Signing is enabled.

Step 1: Ensure that the app's certificate signature is the same as that configured in AppGallery Connect.

Open the APK file of the app, extract the META-INF directory from the file, obtain the CERT.RSA file in the directory, and run the keytool -printcert -file META-INF/CERT.RSA command to display the signature certificate information.

Check the SHA-256 certificate fingerprint configured in AppGallery Connect by referring to Configuring the Signing Certificate Fingerprint. If the information is the same as the preceding information displayed, the certificate fingerprint is correct.

[IMG="https://communityfile-dre.op.hicloud.com/FileServer/getFile/cmtybbs/006/560/358/2640852000006560358.20201027095405.95143594112234946445464386949181:50511109060455:2800:5CDFB91A5B29A1175587182C8C3051E6CB8B04EAEC7CAECA46D46E421858CBA0.jpg"]https://communityfile-dre.op.hicloud.com/FileServer/getFile/cmtybbs/006/560/358/2640852000006560358.20201027095405.95143594112234946445464386949181:50511109060455:2800:5CDFB91A5B29A1175587182C8C3051E6CB8B04EAEC7CAECA46D46E421858CBA0.jpg[/IMG]

Note: The keystore signature of the debug version for packaging. Use the official version for packaging and utilize a real device (non-simulator) for testing only.

Step 2: Ensure that the appid parameter in the manifest file is correct.

You can perform the check in either of the following ways:

View the parameter directly in the manifest file under the project.

Decompile the packaged APK file, and view the parameter. You can use any decompliation tool for that.

Step 3: Check whether the app is hardened or re-signed.

Since AppGallery Connect does not re-sign an app currently, you need to locate the fault if your app has been hardened or re-signed by yourself.

Step 4: Check whether HUAWEI App Signing is enabled.

Huawei provides the App Signing service for developers to let Huawei host their app's signature key and use it for the APK file to be distributed.

According to the official document, if the service is enabled, the generated certificate fingerprint must be added in AppGallery Connect.

[IMG="https://communityfile-dre.op.hicloud.com/FileServer/getFile/cmtybbs/006/560/358/2640852000006560358.20201027095447.51794016316456128490357151891308:50511109060455:2800:7831FCC20E5CF00C5CCEE0FF202932EADDE9F2585B70CA70FD2C03CBBCC6B9B5.jpg"]https://communityfile-dre.op.hicloud.com/FileServer/getFile/cmtybbs/006/560/358/2640852000006560358.20201027095447.51794016316456128490357151891308:50511109060455:2800:7831FCC20E5CF00C5CCEE0FF202932EADDE9F2585B70CA70FD2C03CBBCC6B9B5.jpg[/IMG]