【问题标题】:No AdMobs displayed on 2.3 but displayed with Android 4+ with Google Play Services在 2.3 上没有显示 AdMobs,但在带有 Google Play 服务的 Android 4+ 上显示
【发布时间】:2016-05-19 17:31:58
【问题描述】:

我正在尝试更新使用 AdMobs SDK 6.x 并在 Eclipse 中构建的旧项目。我更新到 Google Play Services V29,它在运行 Jelly Bean 的平板电脑和运行 Marshmallow 的手机上运行良好。但是,当我在两部旧手机上运行它时,我运行的是 Gingerbread(一个是 2.3.4,另一个是 2.3.7)没有广告显示。

在 LogCat 中,应显示广告时出现以下错误:

此应用使用的是 Google Mobile Ads SDK 的轻量级版本,需要安装最新的 Google Play 服务,但 Google Play 服务要么缺失要么已过时。

我什至在 Android Studio 中创建了一个新项目,选择了 Google AdMobs 广告活动,它在我的 Marshmallow 手机和平板电脑上运行良好,但在 Gingerbread 手机上我也遇到了同样的错误

两部手机上的 Google Play 服务版本均为 9.0.82 (034-121907432)

我是否需要更改某些内容才能加载广告并在 GingerBread 上显示?

【问题讨论】:

    标签: android admob google-play-services google-play-developer-api


    【解决方案1】:

    同样的问题已经困扰我好几天了。据我所知,这是 Gingerbread 设备上运行的 Google Play Services 9.0.82 的问题。如果我卸载 Google Play 服务,广告会毫无问题地展示。

    当我重新安装 Google Play 服务时,广告消失了,而 logcat 中的“轻量版 Google 移动广告 SDK”消息又出现了。此外,大约一分钟后,我会收到一条消息,说 Google Play 服务已崩溃。

    我不确定从开发人员的角度来看,除了等到 Google Play 服务更新之外,还有什么可以做的。我已向 Admob Google Group 发布了一个关于此问题的问题。

    【讨论】:

    • 链接到您的 (?) Admob Google 群组发帖 link
    【解决方案2】:

    by 武洲
    移动广告 SDK 团队

    这实际上是一个已知的错误,我们有一个修复计划发布。目前,该修复程序将在运行过时 Google Play 服务版本的设备或本地未安装 Play 服务 APK 的设备上崩溃。 该修复是服务器端更改,因此一旦投入生产,该问题应该会逐渐缓解。

    source

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2020-08-24
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2021-09-01
      • 2022-11-15
      • 1970-01-01
      • 2015-12-04
      相关资源
      最近更新 更多