【发布时间】:2016-05-23 12:51:32
【问题描述】:
我在尝试连接到 Google Play 服务时收到以下错误:
-- E/Volley﹕ [131] BasicNetwork.performRequest: Unexpected response code 403 for https://www.googleapis.com/games/v1/players/me?language=en_US
-- E/SignInIntentService﹕ Access Not Configured. Google Play Game Services API has not been used in project 608941808256 before or it is disabled. Enable it by visiting https://console.developers.google.com/apis/api/games/overview?project=608941808256 then retry. If you enabled this API recently, wait a few minutes for the action to propagate to our systems and retry.
com.google.android.gms.games.server.error.GamesException
我已在 Google Play 开发者控制台上配置了我的应用程序,它已准备好进行测试。我已经将一个应用程序链接到它,并在开发者控制台中启用了适当的 API(Google+ Api、Google Play Services Api、Goole Play Android Developer Api ..)。
我使用了 apk 使用的 SHA1 密钥,并将其添加到开发者控制台的 OAuth 2.0 列表中。
我正在使用 Google 提供的示例代码,已在 ids.xml 文件 (1058015326796) 中添加了我的 app_id,这与错误消息中的项目 ID 不匹配。
如何正确连接到 Google Play 服务?我是否忘记了设置访问权限的步骤?为什么错误消息中的项目 ID 与我在应用程序中使用的 ID 不同?
【问题讨论】:
标签: java android google-play google-play-services