【问题标题】:Google Play Services and admobGoogle Play 服务和 admob
【发布时间】:2014-05-31 12:51:12
【问题描述】:

我已经使用 google play 服务在 libgdx 中的游戏中投放了一些广告。现在我想使用 GoogleApiClient,我找不到他们两个怎么做?有人有想法吗?我知道如何通过使用本教程分别完成它们:http://theinvader360.blogspot.co.il/2013/10/google-play-game-services-tutorial-example.html,但我不能将它们放在一起。

有人知道吗?任何帮助都会得到帮助。

【问题讨论】:

    标签: android libgdx admob google-play-services


    【解决方案1】:

    我要做的是使用 android 示例中的 BaseGameUtils:https://github.com/playgameservices/android-samples

    然后我更新了 GameHelper 类:https://gist.github.com/EmmanuelVinas/ef09a35bcc805ba6deb3

    它可以确保您的 androidmanifest.xml 设置正确

    谷歌似乎在 2 天前更新了他们的 BaseGameUtils,所以您可能不需要更改任何内容

    【讨论】:

    • 感谢您的重播!但是如何更新 GameHelper 类?
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2016-11-12
    • 1970-01-01
    • 2014-10-31
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多