我正在使用 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 开发人员控制台中的 SHA1 密钥是否相同,并且检查了我是否是允许使用 API 的应用程序测试人员。
现在我不知道在哪里寻找才能使其正常工作。
感谢您的帮助。
None
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)