Android 谷歌游戏服务-测试帐户登录结果出现未知错误

Android 谷歌游戏服务-测试帐户登录结果出现未知错误,android,google-play-services,Android,Google Play Services,我已经学习了关于如何为android实现google play游戏服务的教程,并最终实现了简单的google+登录。在解决问题之前,我尝试过如何登录。现在我无法使用此帐户登录,但如果使用其他帐户,我可以 我在第一个帐户中遇到的错误是: 06-05 16:49:03.226: W/dqi(19754): Authentication error: Unable to respond to any of these challenges: {bearer=WWW-Authenticate: Bear

我已经学习了关于如何为android实现google play游戏服务的教程,并最终实现了简单的google+登录。在解决问题之前,我尝试过如何登录。现在我无法使用此帐户登录,但如果使用其他帐户,我可以

我在第一个帐户中遇到的错误是:

06-05 16:49:03.226: W/dqi(19754): Authentication error: Unable to respond to any of these challenges: {bearer=WWW-Authenticate: Bearer realm="https://www.google.com/accounts/AuthSubRequest", error=invalid_token}
06-05 16:49:03.226: E/Volley(19754): [4376] il.a: Unexpected response code 401 for https://www.googleapis.com/games/v1/players/115167649949168063107
06-05 16:49:03.515: W/dqi(19754): Authentication error: Unable to respond to any of these challenges: {bearer=WWW-Authenticate: Bearer realm="https://www.google.com/accounts/AuthSubRequest", error=invalid_token}
06-05 16:49:03.515: E/Volley(19754): [4376] il.a: Unexpected response code 401 for https://www.googleapis.com/games/v1/players/115167649949168063107
06-05 16:49:04.280: W/dqi(19754): Authentication error: Unable to respond to any of these challenges: {bearer=WWW-Authenticate: Bearer realm="https://www.google.com/accounts/AuthSubRequest", error=invalid_token}
06-05 16:49:04.280: E/Volley(19754): [4375] il.a: Unexpected response code 401 for https://www.googleapis.com/games/v1/players/115167649949168063107
06-05 16:49:04.593: W/dqi(19754): Authentication error: Unable to respond to any of these challenges: {bearer=WWW-Authenticate: Bearer realm="https://www.google.com/accounts/AuthSubRequest", error=invalid_token}
06-05 16:49:04.593: E/Volley(19754): [4375] il.a: Unexpected response code 401 for https://www.googleapis.com/games/v1/players/115167649949168063107
06-05 16:49:04.648: E/SignInIntentService(19754): User has not completed registration.
06-05 16:49:04.648: E/SignInIntentService(19754): aol
06-05 16:49:04.648: E/SignInIntentService(19754):   at ajy.a(SourceFile:108)
06-05 16:49:04.648: E/SignInIntentService(19754):   at abm.a(SourceFile:213)
06-05 16:49:04.648: E/SignInIntentService(19754):   at abm.a(SourceFile:194)
06-05 16:49:04.648: E/SignInIntentService(19754):   at aav.a(SourceFile:486)
06-05 16:49:04.648: E/SignInIntentService(19754):   at aqu.a(SourceFile:221)
06-05 16:49:04.648: E/SignInIntentService(19754):   at com.google.android.gms.games.service.GamesSignInIntentService.onHandleIntent(SourceFile:343)
06-05 16:49:04.648: E/SignInIntentService(19754):   at android.app.IntentService$ServiceHandler.handleMessage(IntentService.java:65)
06-05 16:49:04.648: E/SignInIntentService(19754):   at android.os.Handler.dispatchMessage(Handler.java:99)
06-05 16:49:04.648: E/SignInIntentService(19754):   at android.os.Looper.loop(Looper.java:137)
06-05 16:49:04.648: E/SignInIntentService(19754):   at android.os.HandlerThread.run(HandlerThread.java:60)
结果显示一个对话框显示未知错误


我猜当我授权它使用我的G+帐户时,它在某个地方存储了一些缓存。我如何才能恢复此功能,使其与我的第一个帐户再次配合使用?

昨晚我成功地将自己的排行榜投入生产。您所描述的错误是我(根据我在错误报告中看到的其他评论判断)和其他人也遇到过的错误。我发现我无法使用我在开发者控制台中使用的google帐户登录,即使它被明确列为游戏的测试帐户。我试图关闭模拟器等,但我一直无法让它工作。我使用了一个不同的帐户,我可以登录。我不知道我的开发者控制台帐户有什么问题——我也在GooglePlus中使用它,没有问题。顺便说一句,我仍然无法在实际设备上使用我在生产应用程序上的开发人员帐户


我的建议是使用一个单独的帐户进行测试。祝你好运

此类问题通常是客户端ID设置问题。您的客户端ID设置、软件包名称和用于签署应用程序的证书之间可能不匹配。在任何情况下,请按照我们的故障排除指南一步一步地进行操作,它将引导您找到解决方案:


尝试转到设备上的Google+设置,清除您授予应用程序的访问权限。之后,通过PC/Mac网络浏览器或设备手动为您的测试帐户设置Google+,然后尝试重新链接应用程序。这对我有用

三星Galaxy S3的具体步骤:

设置->谷歌->谷歌+->使用谷歌+登录的应用->点击应用,然后在底部点击断开应用


值得一提的是,我在删除应用程序时还点击了“删除此应用程序的所有活动”选项。

我还没有尝试使用我的开发人员帐户。不起作用的不是开发人员帐户,这很奇怪,没有什么意义。但是,在您完成play服务的实现之前,您是否尝试登录您的应用程序?谢谢。这很快就奏效了。之后无需手动设置Google+。刚刚在手机上删除了Google+中的所有应用程序。谢谢。我已经尝试了几乎所有其他可能的选择,但是在Google+设置中断开应用程序的连接就解决了这个问题。但愿我一天前读过这篇文章:)谢谢你,伙计!在这个问题上,我已经被困了好几个小时:sI和just_用户有相同的问题,我很不走运地查看了您的疑难解答页面。我设法用一个非开发人员帐户使它工作。当我使用我的帐户时,我仍然收到此错误消息…只是在Android Studio中遇到了相同的问题--我在AndroidManifest.xml中调整了包,但在.gradle文件中仍然错误,因为某种原因,它似乎被复制了…:-/