Install Genymotion

$brew cask install androidsdk

install android api

set up android home

vi ~ / .bash_profile

export ANDROID_HOME=/usr/local/Cellar/android-sdk/24.4.1_1

edit the apb and android sdk path in genymotion

//************************************************************************************

 

Android virtual machine installation steps:
1. Install VirtualBox
         VirtualBox is a free virtual machine launched by Oracle and supports all platforms (Windows, *nix). Of course, if you cannot accept the paid pit of ********* Desktop, it can be used completely Free VirtualBox, and not inferior to PD.
VirtualBox download address: https://www.virtualbox.org/wiki/Downloads

2. Install GenyMotion
        GenyMotion has a paid version, but the developer is very kind, Free For Personal Use, so as long as it is not used for commercial purposes, anyone can use it for free Use GenyMotion, but sign up for a GenyMotion account and log in. So:
        ①Register a GenyMotion account: http://www.genymotion.cn/#theme=download
        ②Download the GenyMotion installation package and install it.

3. Android virtual machine installation
        ①. Open GenyMotion, click [+] to create a new virtual machine        ②. Log in to GenyMotion, or you cannot view the available virtual machines         ③. Select an Android model, and select any model of Android 4.3. I chose Google's Seven Sons (Nexus 7 1280*800) because the lower resolution saves resource overhead. Then click [Next] to start the download and installation. After completion, an Android virtual machine will appear in the list.





       ④. Double-click the virtual machine in the list to run it (or click [Start]). After entering Android, there is a tutorial, just skip it quickly. 4. Patches required for Android virtual machine configuration : http://pan.baidu.com/s/1o68yMGM ①Apply        ARM-->x86 patch: Just drag Genymotion-ARM-Translation_v1.1.zip into the Android virtual machine Can. At this point, "File Transfer in Progress" will be prompted, click [OK] in the pop-up window to complete the update.         ② Restart the virtual machine (close the window, then start and run again)         ③ Install Google Apps (Google's service framework). As above, drag gaps-jb-20130813-signed_1.zip (only for Android 4.3) into the Android virtual machine. Thus, Google's software appeared.        ④ Restart the virtual machine to complete the update. If the following prompt appears after restarting, you can ignore it. 5. Basic use of Android virtual machine        ①Basic gestures: Tap with one hand: Touch the screen Two-finger swipe: Turn pages and hold Control+Three-finger swipe left and right: Zoom Three-finger and hold down: Equivalent to placing one finger on the touch screen all the time Three-finger drag: move the screen


       














       ②登录Google之后,就可以在Play Store下载游戏了(比如COC),这个步骤需要爬梯子。当然也可以在其他地方下载apk,拖入安装即可,不过COC是Google+认证,所以我选择从Play Store下载。对于COC,iOS上绑定的是Game Center,不过,COC提供了生成临时密钥关联设备的功能(这里不累述)。



       ③如果要启用中文输入法,那么要在Genymotion中开启虚拟键盘,并且安卓虚拟机至少要有一个中文输入法(自带Google 拼音)。可以直接在Mac键盘上打字,并且能用数字选择文字。

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=326753175&siteId=291194637