【问题标题】:Is BaseGameUtils Still Needed for Leaderboards?排行榜还需要 BaseGameUtils 吗?
【发布时间】:2020-07-09 22:06:37
【问题描述】:

每个教程和 stackoverflow 问题似乎都表明它是必需的,应该在此处的 android-basic-samples 下载: https://github.com/playgameservices/android-basic-samples

但是,BaseGameUtils 已从每个人都链接到的 android-basic-samples 项目中删除。此外,描述运行示例的 android-basic-samples 自述文件也没有提到任何地方都需要 BaseGameUtils。

这个问题: Is BaseGameUtils still necessary? (Implementing Android leaderboards) 确切地问我想知道什么,除了在从 android-basic-samples 中删除 BaseGameUtils 之前被问到,并且它的答案错误地声称 BaseGameUtils 在此处的一些链接的 Google 文档中被引用: https://developers.google.com/games/services/android/leaderboards 该问题还错误地指出 BaseGameUtils 是这样提到的: https://developers.google.com/games/services/android/quickstart

Google 没有解释为什么 BaseGameUtils 会从 android-basic-samples 中删除。所以我问:

排行榜实施是否仍需要 BaseGameUtils?

【问题讨论】:

    标签: android gradle google-play-games leaderboard basegameutils


    【解决方案1】:

    不,由于对 Google Play 游戏服务 API 的一些更改,不再需要该库。当前文档已过时。

    在这里您可以找到更多信息。您可以下载他们留在那里的示例游戏。这将作为开始的参考。 Get Started with Play Games Services for Android

    【讨论】:

      猜你喜欢
      • 2017-06-06
      • 1970-01-01
      • 2021-09-20
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2021-07-27
      • 2021-01-12
      • 2017-07-04
      相关资源
      最近更新 更多