谷歌播放服务过期的虚拟机上 [英] Google play services out of date on a virtual machine

查看:335
本文介绍了谷歌播放服务过期的虚拟机上的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图让使用谷歌地图的应用程序,但在模拟器不会在控制台我看到下面的错误工作:

I'm trying to make an application using google maps, but in the emulator it does not work in console I see the following error:

W/GooglePlayServicesUtil(1041): Google Play services out of date.  Requires 3159100 but found 3136130

在屏幕上我看到,我要更新谷歌服务。

On screen I see that I have to update google services ..

我的虚拟机是4.2.2

My virtual machine is 4.2.2

我该怎么办?我搜索了论坛,在这里..但没有解决方案,我已经试过了工作。

What do I do? I've searched the forums here .. but no solution that I've tried has worked ..

推荐答案

安装谷歌的API平台的兼容版本。打开SDK管理器和检查是否有更新的谷歌播放服务。(假设你使用Eclipse)

Install a compatible version of the Google APIs platform. Open the sdk manager and check if you have the updated Google play services.(assuming you use eclipse)

从文档引用。

如果你想测试你的应用程序在模拟器上,扩展为Android 4.2.2(API 17)或更高版本的目录,选择谷歌的API ,并安装它。然后创建一个新的AVD与谷歌的API作为目标平台。

If you want to test your app on the emulator, expand the directory for Android 4.2.2 (API 17) or a higher version, select Google APIs, and install it. Then create a new AVD with Google APIs as the platform target.

请注意:只有谷歌的API平台的Andr​​oid 4.2.2及以上版本包括谷歌Play服务

http://developer.android.com/google/play-services/ setup.html

下检查话题确保设备有谷歌Play服务APK

请确保您有最新的更新

这篇关于谷歌播放服务过期的虚拟机上的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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