谷歌Play业务已经过时了。 (在设备,而不是AVD)设备具有最新版本 [英] Google Play services out of date. (On Device, NOT avd) Device has most recent version available

查看:447
本文介绍了谷歌Play业务已经过时了。 (在设备,而不是AVD)设备具有最新版本的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的应用程序使用的地图V2,并一直很大。我的设备有谷歌播放业务的最新版本。和SDK管理器显示11版本的库。我更新到ADT 22.2昨天,既然,我得到这个在LogCat中:

My app uses maps v2, and has been working great. My device has the latest version of Google Play Services. And the SDK Manager shows Rev 11 for the library. I updated to adt 22.2 yesterday, and since, I get this in LogCat:

Google Play services out of date. Requires 3264100 but found 3225132

和应用程序将提示这个程序将无法运行,除非你更新谷歌播放服务。没那么糟,只是没有办法更新,因为已经有它安装的设备。我卸载,并重新安装谷歌播放服务,并确认它的运行从卖场,3.2.25最新同样,由于实施地图几个月前这已经工作大过。

And the app prompts with "This app won't run unless you update Google Play services". Not so bad, except that there's no way to update, given the device already has it installed. I uninstalled, and reinstalled Google Play service, and confirmed it's running the latest from the store, 3.2.25 Again, this had been working great ever since implementing maps several months ago.

在清单中我的SDK设置:

My sdk settings in manifest:

<uses-sdk
        android:minSdkVersion="12"
        android:targetSdkVersion="17" />

我已经试过分钟/目标的各种组合在拼命试图解决这个问题。

I've tried various combinations of min/target in desperate attempts to resolve this.

在code,我用GooglePlayServicesUtil验证;系统认为应用程序需要更新到3264100

In code, I used GooglePlayServicesUtil to verify; system thinks the app needs to update to 3264100

我已经搜查了不少,但在一个AVD运行时,大多数的一切,我发现涉及到的问题。我可以做才能解决这个问题?

I've searched quite a bit, but most everything I've found relates to issues when running on an avd. What can I to do to fix this?

推荐答案

哈,心动不如行动。问题涉及到更新,但我还没有更新的工具,在一段时间,所以谷歌的R​​ev11发挥服务也是白搭。看到这个错误

Ha, got it. Issue was related to updating, but I hadn't updated the tools in a while, so Rev11 of google play services is no good. See this bug

总之,转速11需要一个版本的应用程序尚未发布的,而谷歌已经退出了,我并没有意识到这一点。所以,如果别人碰到这样的:

In short, rev 11 requires a version of the app not yet released, and google had pulled it, and I didn't realize that. So, in case anybody else hits this:

  1. 在启动SDK管理器
  2. 检查谷歌播放服务,并检查它,如果它的版本11
  3. 删除软件包
  4. 通过菜单刷新经理
  5. 在安装修订10,他们已经在此期间恢复到

这篇关于谷歌Play业务已经过时了。 (在设备,而不是AVD)设备具有最新版本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆