GenyMotion安卓虚拟机安装步骤 - xinhai657的专栏 - 博客频道 - CSDN.NET
Friday, May 26, 2017
10:39 AM

GenyMotion安卓虚拟机安装步骤

.
2015-12-21 16:13 8112人阅读 评论(0) 收藏 举报
.
GenyMotion:需要VirtualBox,安装后可以选择机型,这个应该是Android for x86的一个改进版虚拟机,在原版的基础上针对不同机型用了和原机型同样的GUI,但是发现缺少了Google的框架(play store,google+,gmail, etc)。很巧的是,我正好搜到一篇帖子,了解到安卓程序不能正常运行,是因为x86安卓缺少了ARM—>x86映射,并提供了解决问题的补和Google框架。Google框架的作用是读取Google Play的游戏进度,关联本地游戏。虽然这不是原创,但是在这里就稍微讲讲吧,我也把必要的补丁从国外网盘拖了回来,不到100M的补丁花了几个小时才下载完。并且这个虚拟机较为完善,能使用基本的拖拽操作。
安卓虚拟机安装步骤:

  1. 安装VirtualBox
    VirtualBox是Oracle推出的免费虚拟机,支持全平台(Windows、*nix),当然如果不能接受Parallels Desktop这个付费坑,完全能使用免费的VirtualBox,并且也不逊色于PD。
    VirtualBox下载地址:https://www.virtualbox.org/wiki/Downloads
  1. 安装 GenyMotion

GenyMotion虽然有收费版,但是开发商很厚道,Free For Personal Use,因此只要不用于商业用途,任何人都能免费使用GenyMotion,但是要注册一个GenyMotion账号并登陆。所以:
①注册一个GenyMotion账户:http://www.genymotion.cn/#theme=download
②下载GenyMotion的安装包并安装。

  1. 安卓虚拟机安装
    1. ①.打开GenyMotion,点击【+】新建一个虚拟机

00 Genymotion  Your virtual devices  User not authenticated  Genymotion for personal use  Setings
②.登陆GenyMotion,不然不能查看可用的虚拟机
Virtua\ device creation *'izard  Select a new virtual device  Android version:  All  Device model:  All  Available virtual devices  Sign in to acæss all avdWe virtual devk:es  Sign in  Next •
Authentication  Credentials  Username little93@me.com  Password  Z\] Remember my credentials  Sign in
③.选择一个安卓的机型,选择Android 4.3的任意机型。我选的是Google的七儿子(Nexus 7 1280800),原因是低分辨率可以节省资源开销。然后点击【Next】,开始下载安装,完成后,列表会出现一个Android虚拟机。
Select a new virtual device  Android version:  All  Available virtual devices  Device model:  All  Samsung Galaxy S3 -4.3 - API 18 -720x1280  Google Nexus 7 - 4.3 - API 18 -800x1280  Custom Phone- 4.11 -API 16- 768x1280  Custom Phone- 4.22 -API 17 - 768x1280  Custom Phone -4.3 - API 18 -768x1280  Cancel  Next
Virtua device creation  O Create a new virtual device  Virtual device name  Google Nexus 7 • 4.3 - API 18 - 800X1280=1  Please check the virtual device properties before deployment  Google Nexus 7 - 4.3 - API 18 -800x1280  Description  System version  Description  Android Version  Release date  Version number  Screen size - Density  Memory size  Number of CPUs  Data disk capacity  Google Nexus 7 (r. 800X1280, TVDPI) AOSP43 API 18  Genymotion Tablet 4 Phone -4.3 - API 1B - 2.3.O  Genymotion Virtual Device for Tablet & Phone  10B 2014  2.30  800x1260-213 dpi  1024 MB  8192 MB  Next
Virtua• device creation •.•/zard  Retrieve and deploy the new virtual device  00  The virtual device has been created successfully.  finish
④.双击列表中的虚拟机就可以运行了(或者点击【Start】),进入Android后是一个教程,快速跳过就行了。
![00 Genymotion Start tiw virtual Your virtual devices Genymotion for personal use Setings etri
L Google Nexus 7 - 4.3 - API 18 -800x1280 User: littlega@me.com](https://cdn.nlark.com/yuque/0/2021/jpg/3018302/1639559527169-52602044-b68e-43a0-81e8-6da89dc05a50.jpg)
personal use Goggle Nexus /  Make yourself at home  You can put your favorite apps here.  Ca meta  To see all your apps, touch the circle.  free for personafze  12:58
4. 安卓虚拟机的配置
需要的补丁:http://pan.baidu.com/s/1o68yMGM
①打上ARM—>x86补丁:只要将Genymotion-ARM-Translationv1.1.zip拖入安卓虚拟机即可。此时会提示“File Transfer in Progress”,在弹出的窗口中点击【OK】以完成更新。
![(D 760 Genymotion for oersonal use - Google Nexus WIDGETS - 4.3 - API 18 - goox1280 213doi… 9
• li:sg API DÜTIO.S Clock Ern ail Movie Studio Custom Locale File Q) Superuser Dev Settings Voice Dev Tools Gesture Builder Camera Downloads Messaging Search ID 0 Macintosh SSD Macintosh HOD OS X Yosemite Ram Disk Anime gap ps- jb-2013…d1.zip oenymotion- The Swift progra…ü) .pdt free for personaf=e](https://cdn.nlark.com/yuque/0/2021/jpg/3018302/1639559527405-d8a3860a-f99f-43e1-972e-6af86b34e07f.jpg)
Clock  Email  Custom  Dev Settings  Dev Tools  File Genymotion-ARM-Translation_v1.1.zip seems to be  a flashable archive. Do you want to flash it to the virtual  device?  Caution: this operation may corrupt the virtual device.  Downloads  Messaging  Cancel  OK
File Genymotion-ARM-Translation_v1.1.zip has been  flashed successftlly. Please restart the virtual device.  OK
②重启虚拟机(关闭窗口,然后再次启动运行就好)
③安装Google Apps(Google的服务框架)。和上面一样,将gapps-jb-20130813-signed_1.zip (只适用于安卓4.3)拖入安卓虚拟机中。于是,Google的软件就出现了。
![@ 750 Genymotion for oersonal use - Google Nexus Camera free for peßonaf=e - 4.3 -API - goox1280 gappe (BOCx’2BO. 213dPI..
Macintosh SSD Macintosh HOD OS X Yosemite Ram Disk Anime 0) ARM-T„.vl.l.zip The Swift progra…ü) .pdt](https://cdn.nlark.com/yuque/0/2021/jpg/3018302/1639559527762-ad622353-380f-4997-8077-e4591e96551a.jpg)
Custom Locale  Dev Settings  Dev Tools  Downlc  File gapps-jb-20130B13-signed_1.zip seems to be a  flashable archive. Do you want to flash it to the virtual  device?  Caution: this operation may corrupt the virtual device.  Cancel  OK
Ur  File gapps-jb-20130813-signed_1.zip has ben  successfully. Please restart the virtual device.  lures Buil  OK
Downloads  estures Builder  Messaging  Phone  Email  Gmail  Movie Studio  Play Store  File Manager  Google  Music  Settings  G+ Photos  oogle Settings  News & Weather  Superuser  Gallery  Google*  people  Voice
④重启虚拟机以完成更新。重启后如果出现下面的提示,可以忽略。
Unfortunately, API Demos has stopped.  OK
5.安卓虚拟机的基本使用
①基本手势:
单手点击:触摸屏幕
双指滑动:翻页
按住Control+三指左右滑动:缩放
三指按住不放:相当于单指一直放在触屏上三指拖拽:移动屏幕
②登录Google之后,就可以在Play Store下载游戏了(比如COC),这个步骤需要爬梯子。当然也可以在其他地方下载apk,拖入安装即可,不过COC是Google+认证,所以我选择从Play Store下载。对于COC,iOS上绑定的是Game Center,不过,COC提供了生成临时密钥关联设备的功能(这里不累述)。
1022  Clash of Clans  Supercell  50  Downloads  UNINSTALL  4.6  7,302,657  Strategy  OPEN  In-app purchases  Similar  free for personal use
GenyMotion安卓虚拟机安装步骤 - xinhai657的专栏 - 博客频道 - CSDN.N - 图15
③如果要启用中文输入法,那么要在Genymotion中开启虚拟键盘,并且安卓虚拟机至少要有一个中文输入法(自带Google 拼音)。可以直接在Mac键盘上打字,并且能用数字选择文字。
00  Genymotion  Your virtual device  Google Nexus 7 - 4.3 - API  User: littlega@me.com  Configuration  System  Processor(s)  Base Memory (MB)  Screen size - Density  @ Predefined  800<1280 - 213dpi  C) Custom  dpi  Caution: you may experience issues using custom  values  Run virtual device in full-screen mode  Android system options  Show Android navi ation bar  use virtual keyboard for text input  to
O  Genymotion for personal use  Language & input  Language  English (United States)  Spell checker  Personal dictionary  KEYBOARD & INPUT METHODS  - Google Nexus 7 -  - API - 21'ddpi)  10:30  GPS  Android Keyboard (AOSP)  English (US)  Google voice typing  Automatic  Japanese IME  Japanese  SPEECH
Cenymotto:: for persona' use - Gcogie Nexus 7 -  - API - -  843  A  s  z  D  x  ?123  F  G  v  H  B  J  N  K  M  L  free for personal use
.

2

1
.


上一篇Android开发资料:Android启动优化解析
下一篇ListView源代码分析
.
相关文章推荐

已使用 OneNote 创建。