2.3 上没有显示 AdMobs,但显示有 Android 4+ 和 Google Play Services

No AdMobs displayed on 2.3 but displayed with Android 4+ with Google Play Services

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

在 LogCat 中,我在应该显示广告时遇到以下错误:

This app is using a lightweight version of the Google Mobile Ads SDK that requires the latest Google Play services to be installed, but Google Play services is either missing or out of date.

我什至在 Android Studio 中创建了一个新项目,选择 Google AdMobs Ads Activity 这在我的 Marshmallow phone 和平板电脑上运行良好,但在姜饼 phones 我也遇到同样的错误

两个 phone 上的 Google Play 服务版本均为 9.0.82 (034-121907432)

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

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

当我重新安装 Google Play 服务时,广告消失并且 logcat 中的 "lightweight version of the Google Mobile Ads SDK" 消息再次出现。此外,在大约一分钟内,我会收到一条消息说 Google Play 服务已崩溃。

我不确定从开发人员的角度来看是否可以做任何事情,除非等到 Google Play 服务更新。我已经向 Admob Google 小组发布了关于此的问题。

来自 Vu Chau
移动广告 SDK 团队

This is actually a known bug, for which we have a fix slated for release. Right now the fix will crash on devices that run on an out-of-date Google Play services version, or those that don't have a Play services APK installed locally. The fix is a server-side change, so once it has rolled into production, the issue should be gradually alleviated.

source