Android practice-how to improve the running speed of the Android Simulator

Source: Internet
Author: User

Android-how to speed up the simulator

Many programmers who develop Android systems are struggling: "Why is the Android simulator so slow? It's a little bit difficult to test with your own machine ", google launched the adt-bundle-windows-x86 in saving the Android program ape hard install adt plug-in or did not directly solve the Android simulator speed disadvantage, at this point, it was a little lost to ios on Mac. Today, Mr. Yuan quietly unveiled a secret in Google ADT-how to speed up the simulator.

The default ADT Simulator simulates the ARM architecture (arm-eabi). This simulator does not really run on x86 but simulates the ARM, intel released the virtualization acceleration component IntelHaxm supporting x86. Integration with the Android SDK allows the Android simulator to run at the speed of a real machine. Is it very dynamic.

If you are an Android app developer, if the company does not have a dedicated testing machine but uses an ARM Simulator that is as slow as a snail bait, so you can read the following content after a cup of tea, just a few simple steps, you can enjoy the entire Android learning process ~ ~

1. tips:

1. The computer cpu is of Intel type and supports virtualization technology. Generally, IntelCPU is supported. If it is of Intel type, continue to the following two tips. 2. We recommend that Intel CPUs of i3 and later use this analog acceleration. 3. The computer memory is larger than 1 GB.

2. Download IntelHaxm:

Quick download: Volume Manager download:

Run SDK Manager.exe (it is recommended to open it in the toolbar of eclipse ):

Vc/fingerprint + 7P2z9bPws28tcTH6b/2o6yx8Lyx18W52LHV1eK49r3nw + fingerprint + CjxwPjxpbWcgc3JjPQ = "http://www.2cto.com/uploadfile/Collfiles/20140329/2014032910513828.jpg" alt = "\">


3. IntelHaxm installation:

After the download is successful, go to the .. \ sdk \ extras \ intel \ Hardware_Accelerated_Execution_Manager \ directory to find the file intelhaxm.exe and install it.

After IntelHaxm is successfully installed, Enter cmd and type the command -----> SC query intelhaxm

The following result indicates that IntelHaxm is successfully installed.


4. Download the Intel x86 Atom System Image File
Before creating a simulator, You need to download an image file through SDK Manager, such:


5. Create/configure the Android Simulator

It's almost succeeded. Create and configure the simulator and take a look at the figure:
Enable it in IOS.Practice Recommendations:

In a closed test by Yuan, Intel acceleration makes the simulator very fast and comparable to the real machine. It feels great, saving time and improving efficiency.

If you want to practice simulator acceleration, please feel free to leave a message and contact us ~

Important statement:

Article for learning exchange, reproduced please indicate the source: http://blog.csdn.net/ysjian_pingcx/article/details/22444681




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.