Android Development Gold Partner: Android-studio+genymotion simulator

Source: Internet
Author: User

Recently changed the computer, reconfigure the Android development environment, record:

Early research on the development of Android, with Eclipse feel very bloated, and later out of the Android-studio, and other versions gradually stabilized to use it well, but it is more difficult to endure the AVD simulator slow start speed, and do not like to always use the real machine linked, and later found Genymotion, Immediately a kind of clear clouds to see the feeling of the moon, start fast, that is, the speed of the real machine, but also suitable for a variety of models. The configuration steps are as follows:


First, install the Android-studio

Android-studio Needless to say, out of several versions, now the latest is 0.8.9, can be downloaded at the following URL:

Https://github.com/inferjay/AndroidDevTools

For the contribution of the above URL of the brothers, I really want to give 100 praise, help save the wall of the trouble, and things are more complete, there is a certain description, for like DIY friends can download their favorite content,

But this time I did not download Android-studio from above, I am more lazy, directly next to the Android-studio-bundle,bundle version of the integrated environment, download and install. If the bundle version is low, it can be updated online.

After installation, download the individual SDK packages from the above URLs (also available for download in Android-studio SDK Manager, but often by the wall), the basic development environment is good.

Of course, if you want to use a little better, or simply configure it, such as the following two:

Shortcut settings (multiple environments can be selected, also customizable):


Source Code Control:


Second, installation genymotion

For the system image and other emulator related things, I did not download, I directly use genymotion--allegedly the king of Android Simulator, speed of the lever, the inside said the minimum configuration what, do not care about it, the machine is not too bad, there is a certain amount of disk space can be, To register an account on the official website, will send a verification link to the registered mailbox, click the link to complete the verification, this account is used for downloading virtual equipment. After completing the registration, select the appropriate version, because it runs requires visualbox support, and I did not install Visualbox, download an integrated Visualbox version, in fact, when installed is two separate program installation, which note the following:

1, the two need to be installed on the same disk.

2, do not install in the Chinese directory. (This internet is said to be a problem)

I did not install the two in the same directory, results will be error when starting Genymotion


After the installation is successful, enter the previously registered account password to download the virtual device and complete the download.



You can click on the "Play" button to see the effect.

In case of precaution, you can download a genymotion-arm-translation.zip to ensure that all APK can be installed successfully. Installation mode: After the simulator starts, the compress package drags in, the point "OK" on the line.


Three, the combination of both, Android-studio installed Genymotion plug-in, there are two ways:

Method One: Open Android-studio, open "File"-"Setting"-"IDE Settings"-"Plugins", right click "Browse repositories", in the pop-up search box input genymotion, Locate and install the plugin;

Method Two: Genymotion official download the installation package on the page there is an idea Plugins East, download, repeat the above "open Android-studio, open" File "-" Setting "-" IDE Settings "-" Plugins " ", click" Install Plugin from disk "on the right.

After restarting Android-studio, find an icon on the toolbar and click it to configure the installation path to genymotion for the first time.

This allows you to select the emulation device each time you start


The rest is just like conventional development.


Iv. problems that may exist.

1) Android-studio If the simulation encountered failure [INSTALL_FAILED_OLDER_SDK] problem, because the compiler version of the SDK is too high, or the minimum requirements of the SDK is too high, online a bunch of said in the Mainfest < USES-SDK android:minsdkversion= "3"/> lowered or commented out, but mainfest no this line, in fact, just open the following path to find the Build.gradle file open

Edit the inside of the minsdkversion and targetsdkversion, ensure that the inside version is not higher than the simulator can be.


2) Android-studio Introduction of so File

Due to some circumstances, to introduce so files, such as Baidu Map, so file in the Libs directory, android-studio default is not automatically added, the online method is more complex, in fact, simple can be achieved, because it supports JNILIBS, So just add the files under the Jnilibs folder (no create, res sibling).


3) genymotion input Chinese question

In the device, tick the "Use virtual keyboard" on it.


The first use of Chinese, in the input keyboard area, with the mouse long press the space bar, in the pop-up box select "Google Input Method", in the lower left corner will be able to switch freely in English


Android Development Gold Partner: Android-studio+genymotion simulator

Related Article

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.