删除或更新模拟器谷歌播放服务 [英] remove or update Google play service on emulator

查看:201
本文介绍了删除或更新模拟器谷歌播放服务的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我编一个Android应用程序,它使用谷歌地图API第2版。我想测试它在模拟器上,而是要说明它有一点点问题地图。我用Google搜索,发现articel,我必须要安装包(vending.apk,android.gms.apk)。我下载的软件包并安装它。我所不知道的是,安装android.gms.apk是不是最新的。当我运行模拟器上的应用程序,它显示了一个按钮,一个消息:...更新谷歌Play业务。现在我找到了.gms.apk的最新版本。但我不能够在模拟器上删除或更新谷歌播放服务,因为我成为了从CMD以下消息:

i programmed an android app which uses the google maps api v2. i want to test it on the emulator, but to show the map it has a little bit problems. i googled and found the articel, that i have to install to packages (vending.apk, android.gms.apk). i downloaded the packages and installed it. what i did not know is, the installed android.gms.apk is not up to date. when i run the app on the emulator, it shows an button an a message: ...update Google Play services. And now i found the newest version of the .gms.apk. but i am not able to remove or update the google play services on the emulator, because i became the following message from the cmd:

有没有为这些问题的解决方案? THX提前

is there a solution for these problem? thx in advance

推荐答案

安装谷歌服务包;大湄公河次区域和自动售货机

Installing google service packages; gms and vending

  • 在确保模拟器启动
  • 复制com.google.android.gms-19032013.apk和com.google.android.vending-19032013.apk文件到<包根> \ SDK \从我的博客平台的工具。
  • 开启命令提示符,进入到< bundel根> \ SDK \平台工具
  • 然后运行命令ADB安装com.google.android.gms-19032013.apk
  • 然后运行命令ADB安装com.android.vending,19032013.apk 如果说已经存在,然后运行命令     -adb卸载com.android.vending     -adb卸载com.google.android.gms
  • Be sure that emulator started
  • Copy com.google.android.gms-19032013.apk and com.google.android.vending-19032013.apk files to < bundle root >\sdk\platform-tools from my blog.
  • Open command prompt and go to < bundel root >\sdk\platform-tools
  • then run command adb install com.google.android.gms-19032013.apk
  • then run command adb install com.android.vending-19032013.apk if it says already exits then run commands -adb uninstall com.android.vending -adb uninstall com.google.android.gms

我有类似的问题,所以我$ P $一步教程ppared一步展示如何使用谷歌地图的Andr​​oid V2上仿真器(安卓4.2.2)看看我的博客:<一href="http://umut.tekguc.info/en/content/google-android-map-v2-step-step">http://umut.tekguc.info/en/content/google-android-map-v2-step-step

I had similar problems so I prepared step by step tutorial to show how you can use google map android v2 on emulator(android 4.2.2) have a look at to my blog: http://umut.tekguc.info/en/content/google-android-map-v2-step-step

这篇关于删除或更新模拟器谷歌播放服务的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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