Visual Studio的模拟器为Android - 安装GAPPS(谷歌播放服务) [英] Visual Studio Emulator for Android - Install Gapps (Google Play Services)

查看:832
本文介绍了Visual Studio的模拟器为Android - 安装GAPPS(谷歌播放服务)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用的是新一VS Android模拟器与Android工作室:

I'm using the new VS Android Emulator with Android Studio:

<一个href="https://www.visualstudio.com/en-us/features/msft-android-emulator-vs.aspx">https://www.visualstudio.com/en-us/features/msft-android-emulator-vs.aspx

它不具备谷歌播放服务装......所以我按照本指南进行安装:

It doesn't have Google Play Services installed... so I'm following this guide to install:

<一个href="https://university.xamarin.com/resources/how-to-install-google-play-on-android-emulator">https://university.xamarin.com/resources/how-to-install-google-play-on-android-emulator

我已经下载正确的GAPPS文件(对我来说):

I've downloaded the proper Gapps file (in my case):

<一个href="http://www.devfiles.co/download/7m2VdVjQ/gapps-kk-20140105-signed.zip">http://www.devfiles.co/download/7m2VdVjQ/gapps-kk-20140105-signed.zip

现在我已经拖和ZIP文件拖放到模拟器...它只是停留在复制文件......还有什么事我需要安装GAPPS在这里做才能?多久这个安装通常需要?

Now I've dragged and dropped the ZIP file onto the emulator... and it's just stalled at "copying file"... Is there anything else I need to be doing here in order to get Gapps installed? How long does this "install" usually take?

推荐答案

我昨天想出来自己和有同样的问题。显然,非的拖放功能工作。所以这是我做过什么来解决这个问题:

I was trying it out yesterday myself and had the same problem. Apparently, non of the drag and drop functionality worked. So this, is what I did to resolve the issue:

  1. 使用其它工具(小>>图标)仿真器并转到SD卡标签。
  2. 选择您的计算机上的文件夹与虚拟SD卡进行同步。
  3. 从SD卡,这将创建所选文件夹中的文件夹结构拉出。
  4. 现在,复制GAPPS填写到下载文件夹中。
  5. 一键SD卡。这需要一点时间,和zip文件复制到你的模拟器。
  6. 运行一个条命令提示符,然后转到 SDK \平台工具在你的Andr​​oid SDK的位置和运行 ADB设备
  7. 如果您在列表中看到了你的模拟器,然后跳到步骤9。
  8. 如果您没有看到模拟器,运行以下命令: ADB连接&LT;仿真器IP&GT;:5555 你可以找到仿真器IP,从仿真器中,进入设置 - >关于手机 - >状态和IP段
  9. 在接下来的运行,亚行外壳。这会给你一个提示Android模拟器。
  10. 确认GAPPS文件有: LS / SD卡/下载
  11. 现在,运行, install_zip.sh /sdcard/Download/<flashablezip>.zip 这应该开始闪烁的过程。
  1. Use the Additional Tools (small >> icon) for the emulator and go to the SD Card tab.
  2. Select a folder on your computer to sync with the virtual SD card.
  3. Pull from SD card, which will create a folder structure on the selected folder.
  4. Now copy the Gapps fill to the 'Download' folder.
  5. Push to SD card. This will take a little while, and copy the zip file to your emulator.
  6. Run a commmand prompt, and go to sdk\platform-tools in your Android SDK location and run adb devices.
  7. If you see the your emulator in the list, then skip to step 9.
  8. If you do not see emulator, run the following: adb connect <emulator ip>:5555 You can find the emulator ip, from within the emulator, go to Settings -> About Phone -> Status and IP section.
  9. Next run, adb shell. This will give you a prompt to the android emulator.
  10. Confirm the gapps file is there: ls /sdcard/Download
  11. Now run, install_zip.sh /sdcard/Download/<flashablezip>.zip This should begin the flashing process.

希望这有助于解决这个问题。

Hope this helps in resolving the issue.

这篇关于Visual Studio的模拟器为Android - 安装GAPPS(谷歌播放服务)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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