How to solve the Android simulator slow problem in the Android development process, found that the Android simulator speed is not generally slow, that is mainly because the Android simulator by default is the ARM processor, here mainly provides two ways:
① uses the Intel virtual hardware acceleration to realize the acceleration of the Android simulator, which solves the problem of the slow speed of the Android simulator.
② uses the Genymotion simulator, mainly uses the virtual box fictitious machine principle;
Adopting HAXM Technology
One
1, restart the computer, press the "F2" key to enter the "BIOS"; Note: Different computers enter the "BIOS" in different ways, commonly used to enter the BIOS shortcut keys are: "ESC", "F2", "F10", "F12", "Enter", "Delete" and so on;
2, switch to Configuration below the page;
3, the last "Intel Virtual Technology" set to "[Enabled]";
Note: ① Some CPUs do not support virtual hardware acceleration, and it is now known that i3 and above the I class support virtual hardware acceleration;
② different computer options may also be different, as shown below are two different computer options;
4, press "F10" ("Save and Exit");
5, restart the computer;
The effect is as follows;
Second, open "Android SDK Manager", updated "Extras->intel x86 emulator Accelerator (HAXM installer)";
Note: about how to update the Andorid SDK can be seen:
Http://jingyan.baidu.com/article/636f38bb267982d6b84610f0.html
Third, install Intel's virtual hardware accelerator software "INTELHAXM", such as "" d:androidadt-bundle-windows-x86_64-20140702sdkextrasintelhardware_accelerated _execution_managerintelhaxm.exe ""
Four, 1, use the shortcut key "Win + R" to open the running window;
2, input "cmd", click OK;
Enter "SC query INTELHAXM" to inquire the current INTELHAXM state;
Note: If the error message pops up: "SC is not an internal or external command, it is not a running program or a batch file." "When (Thank you netizen" Maple Leaf Xiao Lin "provide test case):
1, if the lack of "c:windowssystem32sc.exe", consider using administrator rights to reinstall INTELHAXM;
2, may consider in the environment variable path to append: ";%systemroot%/system32;%systemroot%;%systemroot%/system32/wbem";
If the "INTELHAXM" service is closed, you can enter: "SC start INTELHAXM" to open
Seven, 1, the new simulator when set Cpu/abi:intel Atom (x86)
Note: This processor can implement virtual hardware acceleration with INTELHAXM
2, start the simulator will be found in the boot process prompts:
"Hax is working and emulator runs in fast virt mode" indicates that virtual hardware acceleration has been turned on to speed up the simulator
Eight, the effect of the simulator after the start of the following:
Using the Genymotion simulator
1, to the Genymotion official website Download the latest genymotion simulator:
http://www.genymotion.com/
Or to the Baidu cloud above the link to download
Note: The speed of the Genymotion simulator is much faster than the average Android simulator.