Android Dev Simulator acceleration

Source: Internet
Author: User

In Android development, the simulator will be slow to go crazy. Although the beginning of their own program to run to the above joy to suppress this frantic impulse, but long time will inevitably have to smash the impulse of the machine, especially over and over again debugging time. Asked the degree Niang, the original problem programmers are the same mood, but also has a solution. Comprehensive online article, after two times of practice, is finally the simulator to get it done.

First, this acceleration requires a few prerequisites:

1. Must be Intel's CPU, and support vt-x, that is, virtualization technology, like heard generally support.

2. At least 1GB of usable memory, I believe that the current computer can generally be achieved.

The prerequisite is that the following can be performed:

First, download and install the Intel HAXM

The normal step is to open the Android SDK Manager, which can be seen at the bottom of the package list

Running the installation after download is done.

Second, download Android x86 Atom System Image

This is also available in the Android SDK manager.

The above two steps are finished, there is no need to download the installation of things. But because Google's stuff is often bad for networking (for reasons you know), it's often necessary to download the installation on your own website.

Intel HAXM

Https://software.intel.com/zh-cn/android/articles/intel-hardware-accelerated-execution-manager

Intel x86 Atom System Image

Https://software.intel.com/zh-cn/android/articles/android-44-kitkat-x86-emulator-system-image

I believe you can find it on the "crowded" page.

After downloading, install Intel HAXM, if prompted what vt-x not turn on such errors, turn on the computer BIOS, and then the CPU settings inside a virtualization technology similar things to enable, There should be no problem, other mistakes I have not met. As for the Intel x86 Atom System image directly unzipped, put the x86 folder in the entire adt-bundle-windows-x86-20140321\sdk\system-images\ Android-19 this directory is ready.

Iii. Creating an AVD

Re-create an AVD, or modify the original to be OK, in short, the Cpu/abi that the election to the Intel Atom (x86) on the line.

Note that sometimes it is suggested that the recommended memory should not be higher than 768M, or the emulator will fail to load, you'd better follow its advice. Select the use Host GPU below, then OK. If you don't see the following emulation optons option on your dialog box, stretch the dialog box down a bit to see (the design of the brain).

This time you start your new AVD will find that the speed is really similar to the real machine, MO crazy!

Android Dev Simulator acceleration

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.