如何在 Genymotion VM 中安装 Google Play 服务(不支持拖放)? [英] How to install Google Play Services in a Genymotion VM (with no drag and drop support)?

查看:30
本文介绍了如何在 Genymotion VM 中安装 Google Play 服务(不支持拖放)?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何在没有拖放支持的情况下在 Genymotion 模拟器中安装 Google Play 服务?

How can I install Google Play Services in a Genymotion emulator with no drag and drop support?

我无法像 Stack Overflow 帖子中提到的那样安装它您如何安装 Google 框架(Play、帐户等)在 Genymotion 虚拟设备上? 由于缺乏对拖放安装的支持.

I can't install it as mentioned in Stack Overflow post How do you install Google frameworks (Play, Accounts, etc.) on a Genymotion virtual device? due to the lack of support for drag and drop installation.

Genymotion 支持一些模拟器的 Google Apps,但不支持平板电脑模拟器.

Genymotion supports Google Apps for a few emulators, but it doesn't support tablet emulators.

推荐答案

从 Genymotion 2.10.0 开始,GApps 可以从模拟器工具栏安装.请参考@答案迈克尔斯托达特.

As of Genymotion 2.10.0 and onwards, GApps can be installed from the emulator toolbar. Please refer to answer by @MichaelStoddart.

接下来是出于历史原因保留在此处的先前答案:

Next follows former answer kept here for historic reason:

Genymotion 不提供 Google Apps.要安装 Google Apps:

Genymotion doesn't provide Google Apps. To install Google Apps:

  1. 将 Genymotion 和 VirtualBox 升级到最新版本.

  1. Upgrade Genymotion and VirtualBox to the latest version.

下载两个 zip 文件:
- ARM 翻译安装程序 v1.1
- 适用于您 Android 版本的 Google Apps:2.3.7 - 4.4.44.4 - 6.0(带平台和变体) 您还可以在 中找到 GApps 列表wbroek 用户 GitHubGist 页面.

Download two zip files:
- ARM Translation Installer v1.1
- Google Apps for your Android version: 2.3.7 - 4.4.4 or 4.4 - 6.0 (with platform and variant) You can also find the GApps list in the wbroek user GitHubGist page.

打开 Genymotion 模拟器并转到主屏幕,然后将第一个文件 Genymotion-ARM-Translation_v1.1.zip 拖放到模拟器上.将出现一个对话框并显示文件传输正在进行中,然后将出现另一个对话框并询问您是否要在模拟器上刷入它.单击确定"并通过从终端或命令提示符运行 adb reboot 重新启动设备.

Open Genymotion emulator and go to home screen then drag and drop the first file Genymotion-ARM-Translation_v1.1.zip over the emulator. A dialog will appear and show as file transfer in progress, then another dialog will appear and ask that do you want to flash it on the emulator. Click OK and reboot the device by running adb reboot from your terminal or command prompt.

拖放第二个文件 gapps-*-signed.zip 并重复与上述相同的步骤.再次运行 adb reboot,重新启动后,Google Apps 将在模拟器中.

Drag and drop the second file gapps-*-signed.zip and repeat the same steps as above. Run adb reboot again and, once rebooted, Google Apps will be in the emulator.

此时Google Apps 服务"会频繁崩溃并显示以下消息google play services has been stopped working.打开谷歌播放.提供您的帐户详细信息后,打开 Google Play 并更新您安装的 Google Apps.这似乎让 Google Play 意识到您有一个旧的 Google Play 服务,并会要求您更新(在我的情况下,更新 Google Hangouts 需要新版本的 Google Play 服务).我还听说只是等待也会提示您更新.Google Play 服务"应用程序似乎不会以其他方式出现 - 您无法搜索它.然后,您应该会看到更新 Google Play 服务的提议.安装新的 Google Play 服务后,您现在可以稳定、有效地访问 Google Play

At this point 'Google Apps Services' will crash frequently with the following message google play services has stopped working. Open Google Play. After providing your account details, open Google Play and update your installed Google Apps. This seems to make Google Play realize you have an old Google Play Services and will ask you to update (in my case, updating Google Hangouts required a new version of Google Play Services). I've also heard that simply waiting will also prompt you to update. The 'Google Play Services' app doesn't seem to appear otherwise - you can't search for it. You should then see an offer to update Google Play Services. Once the new Google Play Services is installed you will now have stable, working access to Google Play

这篇关于如何在 Genymotion VM 中安装 Google Play 服务(不支持拖放)?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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