因此,我们将Google Play游戏集成到我们的应用程序中以获得成就和排行榜,它在使用iOS时以及使用葡萄牙语在Android设备上运行我们的应用程序时效果很好。在尝试其他语言(美国英语,法语)时,我们会收到403错误:
E/Volley ( 4224): [405] a.a: Unexpected response code 403 for https://www.googleapis.com/games/v1/players/me?language=en_US
E/SignInIntentService( 4224): Access Not Configured. The API (Google Play Game Services API) is not enabled for your project. Please use the Google Developers Console to update your configuration.
应用程序似乎在播放控制台中配置,如上所述,当API调用https://www.googleapis.com/games/v1/players/me?language=pt_BR
时工作正常