Android x86 simulator Intel Atom x86 System image Configuration and usage method

Source: Internet
Author: User

Android x86 simulator Intel Atom x86 System image Configuration and usage method

Preface:
The Android simulator that we are developing now simulates arm's architecture (Arm-eabi), so the simulator is not run on x86, but the arm is simulated, so we often feel very slow when we debug the program, most developers should have a deep understanding.
In this case, Intel has launched a x86-enabled Android emulator in the previous period, which will greatly increase the startup speed and the speed of the program, which will allow the Android emulator to run at the original speed (real machine running speed) on a PC using the Intel x86 processor. Blessed are the developers, and the following will show you how to use them.

First, download the Intel-provided intel®hardware accelerated execution Manager 1.0.1 (R2)
1. Download to Intel's website: http://software.intel.com/en-us/articles/intel-hardware-accelerated-execution-manager/
2.SDK Manager: Expand to Extras->intel Hardware accelerated execution Manager

Requirement:
1. requires the android* SDK to be installed (version or higher). SDK17 or above
2.intel®processor with support for Vt-x, EM64T, and Execute Disable (XD) Bit functionality Inte L CPU: and supports Vt-x (virtualization technology), scalable 64-bit, Execute DisableBit. (all need to ensure enable enabled in the BIOS)
3. at least 1 GB of available ram (Otherwise, you cannot install) 

Once the hardware and software requirements have been met, you can start the installation and continue to the next step until the installation is successful. On the way there is a place to choose to allocate to HAXM memory size, the general default is good, too many will slow down the speed of the machine.

After successful installation, the command line input sc query intelhaxm, Check the running status: State is : "4 RUNNING", which means the installation is successful. You need to change the allocated memory, rerun the Setup program and select the change to modify.
You can also turn it on and off manually using the following instructions:
STOP: sc stop INTELHAXM


Start:

SC start INTELHAXM

meet the hardware and software conditions, if prompted as follows Error:but Intel Execute Disable Bit (XD) is not turned on ...
(Need to turn on the system Data Execution protection function DEP, the afternoon tangled for a long time to find out.) Official website: Windows * Hosts may need to enable DEP (Data execution Prevention) in addition to Intel XD)
Command line instruction: Bcdedit.exe/set NX OptIn on, requires restart


Second, Download Intel Atom x86 System Image
1. Download from SDK Manager: Open SDK Manager, expand to Android2.3.3 (API10)(note: currently only 2.3.3 and 4.0.3 (Ice Cream Sandwich) have x86 image), Need to be used in conjunction with 2.3.3 SDK platform.

or download from Intel official website: Http://software.intel.com/en-us/android/

2. Create a new Avd:hardware property with the AVD Manager select GPU Emulation Yes and Keyboard support Yes

3. Start using the Fast simulator bar, all kinds of cool crooked
good tools can develop apps more efficiently and let us since say goodbye to the turtle-speed simulator.


Android x86 simulator Intel Atom x86 System image Configuration and usage method

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.