Huawei Account Kit 已集成到 my Harmony 应用程序中。设置指纹后,还是报错码6003

The Huawei Account Kit is integrated into the my Harmony app. After the fingerprint is set, still get error code 6003

调用账号包API登录报错6003,AGC上配置了证书指纹,仍然报错码6003,日志如下:

11-02 10:18:01.407 2876-4650/com.example.hellohuawei I ple.hellohuawe: [nanotrace] Start tracing
11-02 10:18:01.407 2876-4637/com.example.hellohuawei I ple.hellohuawe: jit_compiled:[OK] boolean java.lang.Object.equals(java.lang.Object) @ /apex/com.android.runtime/javalib/core-oj.jar
11-02 10:18:01.415 2876-2876/com.example.hellohuawei I ViewRootImpl[BridgeStubAbilityShellActivity]: handleWindowFocusChanged: hasWindowFocus true inTouchMode true
11-02 10:18:01.415 2876-2876/com.example.hellohuawei W InputMethodManager: startInputReason = 1
11-02 10:18:01.423 2876-2876/com.example.hellohuawei I HMSSDK_[AccountHos][ACCOUNTSDK]AccountSignInHubActivityStub: onActivityResult: requestCode:16587 , resultCode:6003
11-02 10:18:01.423 2876-4637/com.example.hellohuawei I ple.hellohuawe: jit_compiled:[OK] void java.util.Calendar.updateTime() @ /apex/com.android.runtime/javalib/core-oj.jar
11-02 10:18:01.423 2876-2876/com.example.hellohuawei I HMSSDK_[AccountHos][ACCOUNTSDK]AccountSignInHubActivityStub: onSignInAccountFailed: retCode:6003
11-02 10:18:01.424 2876-2876/com.example.hellohuawei I HMSSDK_[AccountHos]MessageBus: enter publishMessage messageKey:signin
11-02 10:18:01.424 2876-2876/com.example.hellohuawei I HMSSDK_[AccountHos]AccountAuthServiceAdapterImpl: signIn setreulst taskCompletionSource
11-02 10:18:01.424 2876-2876/com.example.hellohuawei I HMSSDK_[AccountHos]AccountAuthUtil: getSignInResultFromIntent
11-02 10:18:01.427 2876-4637/com.example.hellohuawei I ple.hellohuawe: jit_compiled:[OK] int libcore.io.ForwardingOs.getpid() @ /apex/com.android.runtime/javalib/core-libart.jar
11-02 10:18:01.428 2876-5448/com.example.hellohuawei E EncryptUtil: getSecureRandomBytes: NoSuchAlgorithmException
11-02 10:18:01.428 2876-5448/com.example.hellohuawei E SecurityComp10105306: AesGcmKS: alias or encrypt content is null
11-02 10:18:01.433 2876-2876/com.example.hellohuawei I 01110/[AccountHos]HuaweiAccountSDKProxy: SignIn foreground FAILED.
11-02 10:18:01.433 2876-2876/com.example.hellohuawei I 01110/[AccountHos]HuaweiAccountSDKProxy: SignIn foreground FAILED. status code: 6003.
11-02 10:18:01.432 2876-2876/com.example.hellohuawei I ViewRootImpl[BridgeStubAbilityShellActivity]: handleAppVisibility: mAppVisible false
11-02 10:18:01.433 2876-4637/com.example.hellohuawei I ple.hellohuawe: jit_compiled:[OK] char android.util.HiLogFormatter$FormatSpecifier.conversion(java.lang.String) @ /system/framework/hwEmui.jar
11-02 10:18:01.435 2876-5448/com.example.hellohuawei E EncryptUtil: getSecureRandomBytes: NoSuchAlgorithmException
11-02 10:18:01.435 2876-5448/com.example.hellohuawei E SecurityComp10105306: AesCbc: cbc encrypt param is not right
11-02 10:18:01.440 2876-5448/com.example.hellohuawei E EncryptUtil: getSecureRandomBytes: NoSuchAlgorithmException
11-02 10:18:01.440 2876-5448/com.example.hellohuawei E SecurityComp10105306: AesGcmKS: alias or encrypt content is null
11-02 10:18:01.441 2876-5448/com.example.hellohuawei E EncryptUtil: getSecureRandomBytes: NoSuchAlgorithmException
11-02 10:18:01.441 2876-5448/com.example.hellohuawei E SecurityComp10105306: AesCbc: cbc encrypt param is not right
11-02 10:18:01.443 2876-4637/com.example.hellohuawei I ple.hellohuawe: jit_compiled:[OK] sun.misc.Cleaner sun.misc.Cleaner.add(sun.misc.Cleaner) @ /apex/com.android.runtime/javalib/core-oj.jar
11-02 10:18:01.449 2876-2876/com.example.hellohuawei E 01400/AGP_VIEW: notifyEditingTextChangeInternal mEditingCapability is null
11-02 10:18:01.449 2876-2876/com.example.hellohuawei E 01400/AGP_VIEW: notifyEditingTextChangeInternal mEditingCapability is null
11-02 10:18:01.450 2876-2876/com.example.hellohuawei I ViewRootImpl[BridgeStubAbilityShellActivity]: viewVisibilityChanged changed reason: viewVisibility change to invisible
11-02 10:18:01.451 2876-4659/com.example.hellohuawei I ViewRootImpl[HuaweiLoginAbilityShellActivity]: windowFocusChanged: hasFocus true inTouchMode true
11-02 10:18:01.451 2876-4659/com.example.hellohuawei I ViewRootImpl[BridgeStubAbilityShellActivity]: windowFocusChanged: hasFocus false inTouchMode true
11-02 10:18:01.452 2876-4689/com.example.hellohuawei W libEGL  : EGLNativeWindowType 0x708daa1490 disconnect failed
11-02 10:18:01.452 2876-2876/com.example.hellohuawei I ViewRootImpl[BridgeStubAbilityShellActivity]: relayoutWindow reason: viewVisibilityChanged = true
11-02 10:18:01.456 2876-2876/com.example.hellohuawei I ViewRootImpl[BridgeStubAbilityShellActivity]: relayoutWindow relayoutResult 5
11-02 10:18:01.457 2876-4637/com.example.hellohuawei I ple.hellohuawe: jit_compiled:[OK] void java.lang.ref.Reference.<init>(java.lang.Object) @ /apex/com.android.runtime/javalib/core-oj.jar
11-02 10:18:01.459 2876-2876/com.example.hellohuawei I ViewRootImpl[HuaweiLoginAbilityShellActivity]: handleWindowFocusChanged: hasWindowFocus true inTouchMode true
11-02 10:18:01.459 2876-2876/com.example.hellohuawei W InputMethodManager: startInputReason = 1
11-02 10:18:01.461 2876-2876/com.example.hellohuawei I ViewRootImpl[BridgeStubAbilityShellActivity]: handleWindowFocusChanged: hasWindowFocus false inTouchMode true
11-02 10:18:01.462 2876-2876/com.example.hellohuawei I ActivityManager_activity: Reporting idle of ActivityRecord{2052cc8 token=android.os.BinderProxy@388391 {com.example.hellohuawei/com.example.hellohuawei.HuaweiLoginAbilityShellActivity}} finished=false
11-02 10:18:01.466 2876-5448/com.example.hellohuawei E EncryptUtil: getSecureRandomBytes: NoSuchAlgorithmException
11-02 10:18:01.466 2876-4637/com.example.hellohuawei I ple.hellohuawe: jit_compiled:[OK] org.json.JSONObject org.json.JSONObject.put(java.lang.String, int) @ /apex/com.android.runtime/javalib/core-libart.jar
11-02 10:18:01.466 2876-5448/com.example.hellohuawei E SecurityComp10105306: AesGcmKS: alias or encrypt content is null
11-02 10:18:01.466 2876-5448/com.example.hellohuawei E EncryptUtil: getSecureRandomBytes: NoSuchAlgorithmException
11-02 10:18:01.466 2876-5448/com.example.hellohuawei E SecurityComp10105306: AesCbc: cbc encrypt param is not right
11-02 10:18:01.471 2876-5448/com.example.hellohuawei E EncryptUtil: getSecureRandomBytes: NoSuchAlgorithmException
11-02 10:18:01.471 2876-5448/com.example.hellohuawei E SecurityComp10105306: AesGcmKS: alias or encrypt content is null
11-02 10:18:01.471 2876-5448/com.example.hellohuawei E EncryptUtil: getSecureRandomBytes: NoSuchAlgorithmException
11-02 10:18:01.471 2876-5448/com.example.hellohuawei E SecurityComp10105306: AesCbc: cbc encrypt param is not right
11-02 10:18:01.475 2876-4689/com.example.hellohuawei W libEGL  : EGLNativeWindowType 0x708daa1350 disconnect failed
11-02 10:18:01.566 2876-4637/com.example.hellohuawei I ple.hellohuawe: jit_compiled:[OK] int java.lang.String.indexOf(java.lang.String) @ /apex/com.android.runtime/javalib/core-oj.jar
11-02 10:18:01.697 2876-2876/com.example.hellohuawei I ViewRootImpl[AccountSignInHubStubAbilityShellActivity]: handleAppVisibility: mAppVisible false

知道如何解决这个问题吗?

HarmonyOS应用的签名证书与Android应用的签名证书不同

HarmonyOS应用的签名证书是一个.p12文件。喜欢以下内容:

您可以通过如下方式查看签名证书指纹: