https://www.googleapis.com/games/v1/players/xxxxx LibGDX And​​roid的意外响应代码403

时间:2014-06-12 18:19:48

标签: java android libgdx google-play-services google-play-games

我正在使用LibGDX制作Android游戏,我想使用Google Play游戏服务API,但我无法让它发挥作用。

以下是我尝试登录时会发生什么:

06-12 20:08:47.745: E/Volley(4046): [253] tk.a: Unexpected response code 403 for https://www.googleapis.com/games/v1/players/115171141636978128288
06-12 20:08:47.846: E/SignInIntentService(4046): Access Not Configured. Please use Google Developers Console to activate the API for your project.
06-12 20:08:47.846: E/SignInIntentService(4046): ebw
06-12 20:08:47.846: E/SignInIntentService(4046):    at dwp.a(SourceFile:146)
06-12 20:08:47.846: E/SignInIntentService(4046):    at dfx.a(SourceFile:390)
06-12 20:08:47.846: E/SignInIntentService(4046):    at dfx.a(SourceFile:371)
06-12 20:08:47.846: E/SignInIntentService(4046):    at dex.a(SourceFile:719)
06-12 20:08:47.846: E/SignInIntentService(4046):    at ecp.a(SourceFile:250)
06-12 20:08:47.846: E/SignInIntentService(4046):    at com.google.android.gms.games.service.GamesSignInIntentService.onHandleIntent(SourceFile:389)
06-12 20:08:47.846: E/SignInIntentService(4046):    at android.app.IntentService$ServiceHandler.handleMessage(IntentService.java:65)
06-12 20:08:47.846: E/SignInIntentService(4046):    at android.os.Handler.dispatchMessage(Handler.java:102)
06-12 20:08:47.846: E/SignInIntentService(4046):    at android.os.Looper.loop(Looper.java:136)
06-12 20:08:47.846: E/SignInIntentService(4046):    at android.os.HandlerThread.run(HandlerThread.java:61)
06-12 20:08:47.846: E/LoadSelfFragment(9533): Unable to sign in - application does not have a registered client ID
06-12 20:08:47.846: W/SignInActivity(9533): onSignInFailed()...
06-12 20:08:47.846: W/SignInActivity(9533): ==> Returning non-OK result: 10004

我检查了应用是否已关联,以及我的密钥库与Google Developers Console之间的SHA1密钥是否相同,我检查了我是否是允许使用该API的应用的测试人员。

现在我不知道该去哪里工作。

感谢您的帮助。

0 个答案:

没有答案