错误:" getGamesClient()没有定义" - 尝试运行谷歌的游戏示例
我试图运行这里的谷歌游戏玩法例如服务>。
我加入谷歌播放服务(最新修订版15)和BaseGameUtils为库项目到我的项目,按指示。我没有错误,除了以下内容:该方法getGamesClient()是不确定的。
I have added Google Play services (latest rev 15) and BaseGameUtils as library projects to my project, as instructed. I have no error except the following: "The method getGamesClient() is undefined ..."
我想我缺少一些库参考?任何帮助是AP preciated。我的设置截图如下。
I think I am missing some library reference? Any help is appreciated. My setup screenshots are below.
它看起来像该8bitartist样本尚未与新的API googleApiClient更新()引用。
It does look like that the 8bitartist sample has not been updated with the new API googleApiClient() references.
我编辑了getGamesClient()'在这里使用code示例:https://github.com/playgameservices/android-samples/commit/c2e6a2d66abaece3404f6a7b0e36e634470aca5d
I edited the 'getGamesClient()' using the code samples here: https://github.com/playgameservices/android-samples/commit/c2e6a2d66abaece3404f6a7b0e36e634470aca5d