Unexpected response code 403 for https://www.googleapis.com/games/v1/players/xxxxx LibGDX Android

无人久伴 提交于 2019-12-10 18:07:46

问题


I'm making a Android game with LibGDX and I want to use the Google Play Game Services API but I can't get it working.

Here's what happens when I try to login:

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

I checked if the app is linked and if the SHA1 key is the same between my keystore and in the Google Developers Console and I checked if I was been a tester of the app who was allowed to use the API.

Now I don't know where to look for to get this working.

Thank you for your help.

来源:https://stackoverflow.com/questions/24191311/unexpected-response-code-403-for-https-www-googleapis-com-games-v1-players-xxx

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!