Android 华为手机在使用gallery时出现生物识别问题

Android 华为手机在使用gallery时出现生物识别问题,android,huawei-mobile-services,Android,Huawei Mobile Services,我正在从代码打开图库以选择一张照片,当返回到我的应用程序时,我收到以下错误: 2020-05-24 13:06:41.408 1767-1767/? E/AuthenticationService: Failed to get biometric interface NoSuchElementException: java.util.NoSuchElementException at android.os.HwBinder.getService(Native Metho

我正在从代码打开图库以选择一张照片,当返回到我的应用程序时,我收到以下错误:

2020-05-24 13:06:41.408 1767-1767/? E/AuthenticationService: Failed to get biometric interface NoSuchElementException: 
    java.util.NoSuchElementException
        at android.os.HwBinder.getService(Native Method)
        at android.os.HwBinder.getService(HwBinder.java:91)
        at vendor.huawei.hardware.biometrics.fingerprint.V2_1.IExtBiometricsFingerprint.getService(IExtBiometricsFingerprint.java:48)
        at vendor.huawei.hardware.biometrics.fingerprint.V2_1.IExtBiometricsFingerprint.getService(IExtBiometricsFingerprint.java:52)
        at com.huawei.systemserver.securitymgr.AuthenticationServiceImpl.getFingerprintDaemonEx(AuthenticationServiceImpl.java:1483)
        at com.huawei.systemserver.securitymgr.AuthenticationServiceImpl.sendCmdToHal(AuthenticationServiceImpl.java:1502)
        at com.huawei.systemserver.securitymgr.AuthenticationServiceImpl.se_native_NavigationAFDDFDSwitch(AuthenticationServiceImpl.java:1344)
        at com.huawei.systemserver.securitymgr.AuthenticationServiceImpl.switchAFDDFD(AuthenticationServiceImpl.java:1453)
        at com.huawei.systemserver.securitymgr.AuthenticationServiceImpl.access$700(AuthenticationServiceImpl.java:59)
        at com.huawei.systemserver.securitymgr.AuthenticationServiceImpl$SettingsObserver.onChange(AuthenticationServiceImpl.java:1394)
        at android.database.ContentObserver.onChange(ContentObserver.java:130)
        at android.database.ContentObserver.onChange(ContentObserver.java:145)
        at android.database.ContentObserver$NotificationRunnable.run(ContentObserver.java:216)
        at android.os.Handler.handleCallback(Handler.java:907)
        at android.os.Handler.dispatchMessage(Handler.java:105)
        at android.os.Looper.loop(Looper.java:216)
        at android.app.ActivityThread.main(ActivityThread.java:7625)
        at java.lang.reflect.Method.invoke(Native Method)
        at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:524)
        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:987)
2020-05-24 13:06:41.408 1767-1767/? W/AuthenticationService: fingerprint HIDL not available
2020-05-24 13:06:41.409 1767-1767/? E/AuthenticationService: Fingerprintd is not available!

你知道可能的原因吗?

我看不到hidl过程。
请检查您的手机是否支持指纹识别。

我看不到hidl过程。
请检查您的手机是否支持指纹识别。

因此,问题显然不是根本原因,而是我试图打开照片库时出现的原始错误造成的(令人困惑的)后果,复制粘贴谷歌的其他片段解决了这个问题。

因此,显然问题不是根本原因,而是我试图打开照片库的方式导致的原始错误的(令人困惑的)结果,复制粘贴谷歌的其他片段解决了这个问题。

感谢您的尝试。。。似乎这是一个与真正原因无关的衍生错误。谢谢您的尝试。。。似乎这是一个与真正原因无关的派生错误。提供出错的副本/面食片段可能会对遇到此问题的其他人有所帮助。提供出错的副本/面食片段可能会对遇到此问题的其他人有所帮助。