[英]Unexpected response code 401 for https://www.googleapis.com/games/v1/applications/played
i tried to implement google play games in the specific Login/savegame/leaderboard, into an android app. 我试图在特定的Login / savegame / leaderboard中实现Google Play游戏,并将其应用到Android应用中。
i created the 2 oauth key (release and debug) and everything seems all right, because i can clearly login, make save game (that i see on my drive) and show the empty leaderboard. 我创建了2个oauth密钥(发布和调试),一切似乎都很好,因为我可以清楚地登录,制作保存游戏(在驱动器上看到)并显示空白的页首横幅。 nice.
不错。
a day, i decided to check the api usage on the google api console, and i got this situation: 一天,我决定在google api控制台上检查api的使用情况,结果是这种情况:
i have 100% errors on the call "games.applications.played", infact checking on the log i found the title of this post. 我在调用“ games.applications.played”时遇到100%错误,实际上是在日志中查看了该帖子的标题。 Unexpected response code 401 for https://www.googleapis.com/games/v1/applications/played ( i do not this call explicitly, i guess is during the login process)
https://www.googleapis.com/games/v1/applications/played的意外响应代码401(我未明确调用此程序,我猜是在登录过程中)
but all the other call seems work right, and if i wouldn't look at the api usage probably i wouldn't notice. 但是所有其他调用似乎都可以正常工作,如果我不看api的用法,可能我不会注意到。
do you have any idea? 你有什么主意吗?
使用google_leaderboard_app_id代替google_leaderboard_id ...您的应用ID为12位数字,并且ID为唯一字符,字符串和数字。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.