【问题标题】:Google Play Service can't authenticate , Op: SIGN_IN status: 10Google Play 服务无法验证,操作:SIGN_IN 状态:10
【发布时间】:2018-03-21 07:16:51
【问题描述】:

我的项目使用 Unity 2017.2,我们使用 Google Play SDK 登录 Android。

对于测试版,如果我没记错的话,它工作正常,但是当我们开始发布服务并关闭 alpha 和 beta 测试阶段时,它根本不会登录。

我使用 logcat 检查了调试,它显示了这一点(忽略代码模板,由于某种原因 StackOverflow 不允许我在没有它的情况下发布日志):

[Play Games Plugin DLL] 03/21/18 13:
04:57 +07:00 DEBUG: Starting Auth Transition. Op: SIGN_IN status: 10
03-21 13:04:57.241 7463 7479 I Unity : UnityEngine.DebugLogHandler:LogFormat
(LogType, Object, String, Object[])
03-21 13:04:57.241 7463 7479 I Unity : UnityEngine.Logger:Log(LogType, Objec
t)
03-21 13:04:57.241 7463 7479 I Unity : GooglePlayGames.OurUtils.PlayGamesHel
perObject:Update()
03-21 13:04:57.241 7463 7479 I Unity :
03-21 13:04:57.241 7463 7479 I Unity : (Filename: ./artifacts/generated/Andr
oid/runtime/DebugBindings.gen.cpp Line: 51)
03-21 13:04:57.241 7463 7479 I Unity :
03-21 13:04:57.244 7463 7479 I Unity : [Play Games Plugin DLL] 03/21/18 13:
04:57 +07:00 DEBUG: AuthState == Unauthenticated calling auth callbacks with failure

我主要关心的是这一行:

开始身份验证转换。操作:SIGN_IN 状态:10

我已经到处google了,只能看到关于:

SIGN_IN 状态:ERROR_NOT_AUTHORIZE

但不是:

SIGN_IN 状态:10

它们是一样的吗?如果没有,我该怎么办?

【问题讨论】:

    标签: android unity3d google-play-services


    【解决方案1】:

    Statuscode 10 似乎意味着您的应用在 google play 开发者控制台中配置错误,因此您应该在那里进行检查。

    Here 是 Google Play 中所有常见状态码的概述。数字 10 对应于 DEVELOPER_ERROR。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2020-07-15
      • 2013-06-11
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2014-03-25
      相关资源
      最近更新 更多