ios Google play service接入步骤

首先按照:

https://developers.google.com/games/services/

iOS start guide说明

建立应用和其他步骤

在console中可以建立app

https://console.developers.google.com/project/

之后需要在

https://play.google.com/apps/publish/

中配置好工程,填入bundleid和其他信息,重要*要加入测试账号,不然会导致app的未发布状态下去测试会一直无法login,登陆后授权会填登出跳转到授权页面

会有:

这样的错误。

ERROR: Attempting to get name of an invalid Player
2014-12-15 10:39:52.210 CollectAllTheStars[1071:33769] ERROR: Attempting to get avatar URL of an invalid Player
2014-12-15 10:39:52.211 CollectAllTheStars[1071:33769] ERROR: Attempting to get id of an invalid Player
2014-12-15 10:39:52.211 CollectAllTheStars[1071:33769] ERROR: Attempting to get title of an invalid Player
2014-12-15 10:39:52.211 CollectAllTheStars[1071:33769] ERROR: Attempting to get current xp of an invalid Player
2014-12-15 10:39:52.211 CollectAllTheStars[1071:33769] ERROR: Attempting to get last level up timestamp of an invalid Player
2014-12-15 10:39:52.211 CollectAllTheStars[1071:33769] ERROR: Attempting to get current level of an invalid Player
2014-12-15 10:39:52.211 CollectAllTheStars[1071:33769] ERROR: Attempting to get level number of an invalid PlayerLevel
2014-12-15 10:39:52.211 CollectAllTheStars[1071:33769] ERROR: Attempting to get minimum xp of an invalid PlayerLevel
2014-12-15 10:39:52.212 CollectAllTheStars[1071:33769] ERROR: Attempting to get maximum xp of an invalid PlayerLevel
2014-12-15 10:39:52.212 CollectAllTheStars[1071:33769] ERROR: Attempting to get next level of an invalid Player
2014-12-15 10:39:52.212 CollectAllTheStars[1071:33769] ERROR: Attempting to get level number of an invalid PlayerLevel
2014-12-15 10:39:52.212 CollectAllTheStars[1071:33769] ERROR: Attempting to get minimum xp of an invalid PlayerLevel
2014-12-15 10:39:52.212 CollectAllTheStars[1071:33769] ERROR: Attempting to get maximum xp of an invalid PlayerLevel
2014-12-15 10:39:52.212 CollectAllTheStars[1071:33769] WARNING: Could not automatically seed snapshot cache.

 

郑重声明:本站内容如果来自互联网及其他传播媒体,其版权均属原媒体及文章作者所有。转载目的在于传递更多信息及用于网络分享,并不代表本站赞同其观点和对其真实性负责,也不构成任何其他建议。