Combined Use of Android-studio + Genymotion Simulator

Source: Internet
Author: User

Combined Use of Android-studio + Genymotion Simulator

(1) how to install Android studio:

After the installation, download some sdk packages from the above URL (you can also download them in the sdk manager of android-studio, but they are often blocked). The basic development environment is good.

Of course, if you want to use it better, you should simply configure it, as shown in the following two:

Shortcut Key settings (you can select multiple environments and customize them ):


Source code management:


(2) about the installation of Genymotion method is no longer said, if there is a problem please refer to: http://blog.csdn.net/xlgen157387/article/details/42026785 <喎?http: www.bkjia.com kf ware vc " target="_blank" class="keylink"> VcD4KPHA + logs/Ww/logs ++ signature + o61_o6k8l3a + signature + cjxwp1_vcd4kpha + t723q7nko7q08r + signature/expires + expires = "http://www.2cto.com/uploadfile/Collfiles/20150226/20150226082536146.jpg" alt = "\">

In some cases, the following option is displayed after restart: you only need to find the location where genymotion is installed.


Method 2: there is an IDEA Plugins plug-in on the page for downloading the installation package from the Genymotion official website, choose File> Setting> IDE Settings> Plugins, and click Install Plugin from disk on the right ].

Restart android-studio and find an icon in the toolbar. Click it. The first configuration points to the installation path of Genymotion.

In this way, you can select a simulation device each time you start it.


The rest is no different from conventional development. You can also view the correct connection in the dbms:


(5) possible problems.

1) for Android-Studio, if Failure [INSTALL_FAILED_OLDER_SDK] is encountered during simulation, it is because the compiled sdk version is too high or the minimum required sdk is too high. Drop or comment out, But mainfest does not have this line. In fact, you only need to open the following path and find the build. gradle file to open

Edit minSdkVersion and targetSdkVersion to ensure that the version is no higher than the Simulator version.


2) Android-Studio introduces the so file

In some cases, so files, such as Baidu maps, should be introduced and put in the libs directory. Android-Studio does not automatically add files by default, and the online methods are complicated, in fact, it can be implemented simply because it supports jniLibs. Therefore, you only need to add files under the jniLibs folder (no create directory, res directory at the same level.


3) Genymotion Chinese Input

On the device, select "use virtual keyboard ".


When using Chinese for the first time, in the Input Keyboard area, press the Space key with the mouse and select "Google Input Method" in the pop-up box. Then, you can switch between Chinese and English in the lower left corner.


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.