Installation and configuration of the strongest Android simulator genymotion

Source: Internet
Author: User

 Android developers are aware that the native simulator starts relatively slowly, does not operate smoothly, and there will be inexplicable problems. Of course many people will choose to use the Android phone directly to develop, but sometimes need to show the program on the projector when the phone is not very good to do it. Here I introduce you to a good Android simulator--genymotion.

Online can see a lot of introduction genymotion simulator installation and use of the blog post, I have been in my computer for two days to do some practice, after a day of churn just installed, met a lot of problems, so write down the blog to make a record.

 I. Introduction of Genymotion

   1, genymotion Android Simulator is not a common simulator, strictly speaking, genymotion is a virtual machine, the network is defined as a simulator, the speed of loading the app is relatively fast, operation is also very smooth.

2, Genymotion relies on VirtualBox (famous open-source virtual machine software, lightweight, easy to use!) ), which means that genymotion is used with VirtualBox (Genymotion calls the VirtualBox interface).

3, genymotion can be used as a plugin for Eclipse, Android Studio, very convenient.

  Second, the software required to install the Genymotion

    1, genymotion-2.4.0 (without virtual box) and Virtualbox-4.1.20-80170-win (I organize the Oh!) ): Genymotion+virtualbox

2, of course, you can also go directly to genymotion official website to download: official website connection (need to register, registration notes not much to say), the official website provides two versions, with Virtual box Genymotion integration package and without virtual Box's genymotion installation package. Before I download is the integration package, after the installation has been error, and later on the Internet to see the original version of the virtual box is provided in a high, the next low version can be.

 Third, installation instructions

    1, make sure that your system has not installed a virtual machine or has been uninstalled, or you know the associated genymotion and your own installed virtual machine;

    2, install VirtualBox4.1.20, all the way click Next;

3, installation genymotion-2.4.0;

Iv. Description of Use

   1, start genymotion, and use their own Genymotion official website registered password login;

    2, if you want to associate your local SDK needs to be configured: In the Genymotion main interface, click Settings->adb->use Custom Android SDK tools, on Android In the SDK box, select the path of the SDK folder on your computer, such as E:\ADT-BUNDLE-WINDOWS-X86_64-20140702\SDK on my computer;

     Note: in this process I have encountered a problem, as long as the settings into the ADB interface, a click of the mouse program will be stuck, every time the re-open is the case, even if the restart of the computer is not. Then occasionally I entered the ADB interface in Settings click on the use Custom Android SDK tools option and then no longer click, with it, later found that the program chose the use custom Android SDK Tools this option , that is to say, this step may be very card, do not click on the option to find no response to continue to click, a little later good.

     3, in the Genymotion main interface Click Add to add the simulator you want to model, choose one, let him download good can use;

4, the simulator download good after double-click the simulator to start it;

      Note: This step I also encountered a problem, start the simulator error, and then launch the simulator in virtual box cannot access the kernel driver error

       Solution:(1) first shut down their own firewall and anti-virus software (preferably first broken network), do not close the words directly run there may be unknown error prompts;

(2) Enter the C:\Program Files\oracle\virtualbox\drivers\vboxdrv folder (specific to see their own VBox program is installed or put where), find Vboxdrv.inf This file, right mouse button , and then select Install ;

  v. Installing the Genymotion plugin under Eclipse (PC configuration is low, so it's still using eclipse to develop Android--!)

  1. Open Eclipse, click Help->install New Software...->add, and in the pop-up Add Repository dialog box, enter the Name box: Genymotion, In the Location box, enter: Http://plugins.genymotion.com/eclipse Click OK to download and install.

2. After installation, you can see the following plugin icon in Eclipse

    

   3, also need to configure the Genymotion installation path in the plug-in: Click Window->preferences->genymobile->genymotion, in the Genymotion In the Directory box, select the path of the genymotion that you just loaded, as I am here the default installation path: C:\Program files\genymobile\genymotion

  Vi. API Version Issues

   Running the program found that the emulator that Genymotion started was missing.

    

    Entering the DDMS interface will see the following:

    

    This is mainly because the API version of the Genymotion simulator is too low to replace the emulator of a higher version of the API.

 Seven, look at your own results.

    1. Click the plugin icon in eclipse:

    

    2. Select the simulator and start:

    

    

    

   3. Then choose an Android project to run it! (You'll find the operation is much smoother than the native simulator ...)

  Ok .... If there is any place I have not written detailed (Qing) fine (CHU) also please leave a message, discuss with each other :)

    

Installation and configuration of the strongest Android simulator genymotion

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.