无缺陷全局结果代码的健康工具包的身份验证问题为0
日志:
com.root.sutd/com.huawei.hms.hwid.internal.ui.activity.HwIdSignInHubActivity t57}}} isHidden:false hiddenRequested:false
02-17 18:05:16.450 1368 1396 I WindowManager: dispatchResized : win = Window{4f44922 u0 com.huawei.hwid/com.huawei.hms.core.activity.UiJumpActivity} drawState = HAS_DRAWN
02-17 18:05:16.452 1837 16572 I SerializedObject: [I/HMSCore/SerializedObject 1837:945 SourceFile:4] write type class com.huawei.hms.auth.scope.bean.AppScopeDE to disk sucessfully.
02-17 18:05:16.453 1837 2961 D LogWrite: wtf Exception
02-17 18:05:16.454 1837 16572 E CheckFingerprintRequest: [E/HMSCore/CheckFingerprintRequest 1837:945 SourceFile:5] Failed to check the Fingerprint, appID: 105513189, packageName: com.root.sutd
02-17 18:05:16.455 1837 2961 D LogWrite: wtf Exception
02-17 18:05:16.455 14581 19563 I ForegroundBus: [I/HMSCore/ForegroundBus 14581:904 SourceFile:1] checkFingerprint rtnCode=6003, message=Failed to check the Fingerprint, appID: 105513189, packageName: com.root.sutd
02-17 18:05:16.456 14581 19563 E ForegroundBus: [E/HMSCore/ForegroundBus 14581:904 SourceFile:110] errorReturn code:6003, msg:Failed to check the Fingerprint, appID: 105513189, packageName: com.root.sutd
02-17 18:05:16.456 1368 1423 I ActivityTaskManager: Displayed com.huawei.hwid/com.huawei.hms.core.activity.UiJumpActivity: +89ms
02-17 18:05:16.464 14581 14581 I ForegroundBus: [I/HMSCore/ForegroundBus 14581:1 SourceFile:4] Call finish.
02-17 18:05:16.464 14581 14581 I UiJumpActivity: [I/HMSCore/UiJumpActivity 14581:1 SourceFile:1] Enter finish.
02-17 18:05:16.483 1368 6263 W HwActivityTaskManagerServiceEx: appSwitch from: com.huawei.hwid to: com.root.sutd
02-17 18:05:16.484 1368 6263 I WindowManager: Changing focus from Window{4f44922 u0 com.huawei.hwid/com.huawei.hms.core.activity.UiJumpActivity} to Window{4092aca u0 com.root.sutd/com.huawei.hms.activity.BridgeActivity} displayId=0 Callers=com.android.server.wm.RootWindowContainer.updateFocusedWindowLocked:201
从下面的日志中可以看出,对于Error Code 6003,建议查看appid是否与AppGalleryConnect上的appid一致:
02-17 18:05:16.455 14581 19563 I ForegroundBus: [I/HMSCore/ForegroundBus 14581:904 SourceFile:1] checkFingerprint rtnCode=6003, message=Failed to check the Fingerprint, appID: 105513189, packageName: com.root.sutd
02-17 18:05:16.456 14581 19563 E ForegroundBus: [E/HMSCore/ForegroundBus 14581:904 SourceFile:110] errorReturn code:6003, msg:Failed to check the Fingerprint, appID: 105513189, packageName: com.root.sutd
确保已配置证书指纹,且在本地客户端打包签名的证书与AppGallery Connect中配置指纹的证书一致。
更多信息,请查看这个文档或这个答案。
您的应用程序的指纹与您在AppGallery中配置的不一致。在上面的图像中,日志显示2个指纹。要检查的certFingerprint是:- app的指纹certFingerprint of 105513189 is: -配置在AppGallery
通过以下链接生成指纹并在AppGallery中配置(所有HMS套件都通用)
生成签名证书指纹配置签名证书指纹还要检查在本地构建中是否使用了多个证书。Gradle file)命令查看apk的实际证书指纹:Keytool -printcert -jarfile d:your.apk