You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

部分设备上OneTap凭证保存失败问题求助

Identity Credential服务保存密码时Task无反馈异常

我们在部分设备上调用Identity Credential服务保存密码时遇到问题,调用代码:

Identity.getCredentialSavingClient(activity).savePassword(savePasswordRequest)

设置的onCompleteListener完全未触发,失败似乎发生在Task内部且无任何反馈,导致进程停滞。该问题出现在三星、Pixel等多种设备类型,覆盖多个Android版本,但并非多数设备存在此问题。

以下是设备上的错误堆栈:

2022-07-25 11:17:27.264 15235-15235/? D/BoundBrokerSvc: onBind: Intent { act=com.google.android.gms.auth.api.identity.service.credentialsaving.START dat=chimera-action:com.google.android.gms.auth.api.identity.service.credentialsaving.START cmp=com.google.android.gms/.chimera.GmsApiService }
2022-07-25 11:17:27.264 15235-15235/? D/BoundBrokerSvc: Loading bound service for intent: Intent { act=com.google.android.gms.auth.api.identity.service.credentialsaving.START dat=chimera-action:com.google.android.gms.auth.api.identity.service.credentialsaving.START cmp=com.google.android.gms/.chimera.GmsApiService }
2022-07-25 11:17:27.285 15235-15235/? D/BoundBrokerSvc: onBind: Intent { act=com.google.android.gms.chromesync.service.zeroparty.START dat=chimera-action:com.google.android.gms.chromesync.service.zeroparty.START cmp=com.google.android.gms/.chimera.GmsApiService }
2022-07-25 11:17:27.285 15235-15235/? D/BoundBrokerSvc: Loading bound service for intent: Intent { act=com.google.android.gms.chromesync.service.zeroparty.START dat=chimera-action:com.google.android.gms.chromesync.service.zeroparty.START cmp=com.google.android.gms/.chimera.GmsApiService }
2022-07-25 11:17:27.300 1813-1889/? D/CompatibilityInfo: mCompatibilityFlags - 0
2022-07-25 11:17:27.300 1813-1889/? D/CompatibilityInfo: applicationDensity - 280
2022-07-25 11:17:27.300 1813-1889/? D/CompatibilityInfo: applicationScale - 1.0
2022-07-25 11:17:27.312 32339-32355/? E/AuthPII: [GoogleAccountDataServiceImpl] getToken() -> BAD_AUTHENTICATION. App: com.google.android.gms, Service: oauth2:https://www.googleapis.com/auth/plus.me
    wno: Long live credential not available.
        at jel.a(:com.google.android.gms@222615037@22.26.15 (150400-461192076):8)
        at jeq.g(:com.google.android.gms@222615037@22.26.15 (150400-461192076):1)
        at jeq.e(:com.google.android.gms@222615037@22.26.15 (150400-461192076):3)
        at jcy.m(:com.google.android.gms@222615037@22.26.15 (150400-461192076):108)
        at jbx.a(:com.google.android.gms@222615037@22.26.15 (150400-461192076):8)
        at eys.p(:com.google.android.gms@222615037@22.26.15 (150400-461192076):9)
        at eys.e(:com.google.android.gms@222615037@22.26.15 (150400-461192076):68)
        at eys.h(:com.google.android.gms@222615037@22.26.15 (150400-461192076):0)
        at eys.el(:com.google.android.gms@222615037@22.26.15 (150400-461192076):6)
        at ewl.onTransact(:com.google.android.gms@222615037@22.26.15 (150400-461192076):5)
        at android.os.Binder.transact(Binder.java:1043)
        at fch.onTransact(:com.google.android.gms@222615037@22.26.15 (150400-461192076):2)
        at android.os.Binder.transact(Binder.java:1043)
        at ahmp.onTransact(:com.google.android.gms@222615037@22.26.15 (150400-461192076):17)
        at android.os.Binder.execTransactInternal(Binder.java:1154)
        at android.os.Binder.execTransact(Binder.java:1123)
2022-07-25 11:17:27.312 32339-32355/? E/AuthPII: Message is Long live credential not available.
    wno: Long live credential not available.
        at jel.a(:com.google.android.gms@222615037@22.26.15 (150400-461192076):8)
        at jeq.g(:com.google.android.gms@222615037@22.26.15 (150400-461192076):1)
        at jeq.e(:com.google.android.gms@222615037@22.26.15 (150400-461192076):3)
        at jcy.m(:com.google.android.gms@222615037@22.26.15 (150400-461192076):108)
        at jbx.a(:com.google.android.gms@222615037@22.26.15 (150400-461192076):8)
        at eys.p(:com.google.android.gms@222615037@22.26.15 (150400-461192076):9)
        at eys.e(:com.google.android.gms@222615037@22.26.15 (150400-461192076):68)
        at eys.h(:com.google.android.gms@222615037@22.26.15 (150400-461192076):0)
        at eys.el(:com.google.android.gms@222615037@22.26.15 (150400-461192076):6)
        at ewl.onTransact(:com.google.android.gms@222615037@22.26.15 (150400-461192076):5)
        at android.os.Binder.transact(Binder.java:1043)
        at fch.onTransact(:com.google.android.gms@222615037@22.26.15 (150400-461192076):2)
        at android.os.Binder.transact(Binder.java:1043)
        at ahmp.onTransact(:com.google.android.gms@222615037@22.26.15 (150400-461192076):17)
        at android.os.Binder.execTransactInternal(Binder.java:1154)
        at android.os.Binder.execTransact(Binder.java:1123)
2022-07-25 11:17:27.312 32339-32355/? I/Auth: [AccountIdManager] Token response failed with status=BadAuthentication [CONTEXT service_id=153 ]
2022-07-25 11:17:27.313 32339-32355/? W/Auth: [GetToken] Failed to get account ID
2022-07-25 11:17:27.314 15235-1472/? W/Auth: [GoogleAuthUtil] isUserRecoverableError status: BAD_AUTHENTICATION
2022-07-25 11:17:27.327 1813-3803/? D/CompatibilityInfo: mCompatibilityFlags - 0
2022-07-25 11:17:27.327 1813-3803/? D/CompatibilityInfo: applicationDensity - 280
2022-07-25 11:17:27.327 1813-3803/? D/CompatibilityInfo: applicationScale - 1.0
2022-07-25 11:17:27.410 32339-32427/? W/Auth: [GetTokenResponse] No token found in response, service=chromesync [CONTEXT service_id=153 ]
2022-07-25 11:17:27.410 32339-32427/? W/Auth: [GetToken] GetToken failed with status code: BadRequest
2022-07-25 11:17:27.411 15235-1472/? W/AsyncOperation: operation=GetState, opStatusCode=11006 [CONTEXT service_id=80 ]
    OperationException[Status{statusCode=Error accessing account in operation GetState, resolution=null}] 

已尝试在正常设备上通过添加/移除谷歌账号、开关自动填充、拒绝智能锁等方式复现,均仅返回可捕获的错误,无法复现这种Task内部无反馈的情况,恳请提供解决思路。

内容的提问来源于stack exchange,提问作者Novacane

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.08.25 02:45:34