Intel haxm danh cho mac os
Show Table of Contents
IntroductionThis document will guide you through installing the Intel Hardware Accelerated Execution Manager (Intel HAXM), a hardware-assisted virtualization engine (hypervisor) that uses Intel Virtualization Technology (VT) to speed up Android development. PrerequisitesIntel HAXM requires the Android SDK to be installed (version 17 or higher). For more information, refer to the Android developer website (https://developer.android.com/studio/index.html). System RequirementsHardware Requirements:
Supported Operating Systems:
Before installing latest HAXM, the previous versions from 1.1.4 and below can be uninstalled using: sudo /Library/Extensions/intelhaxm.kext/Contents/Resources/uninstall.sh Intel HAXM cannot be used on systems without an Intel processor, or with an Intel processor that lacks the hardware features described in the "Hardware Requirements" section above. To determine the capabilities of your Intel processor, visit http://ark.intel.com/ Additionally, Intel HAXM can be used only with Android x86 and x86_64 emulator images provided by Intel. Intel HAXM cannot be used with ARM Android emulator images or non-Intel x86 or x86_64 Android emulator images. Downloading Intel HAXMOverview Intel HAXM can be installed either through the Android SDK Manager (recommended), or manually, by downloading the installer from Intel's website. Note: Intel HAXM does not currently check for updates automatically. To get the latest version, download the Intel HAXM package using the Android SDK Manager (recommended) or from the Intel Developer Zone Android developer site. Downloading Manually
Downloading through Android SDK Manager
Installing standalone Intel HAXM on macOSWarning: Intel Hardware Accelerated Execution Manager (Intel HAXM) installation will fail if your system does not meet the system requirements, including support for Intel processor features, such as Intel Virtualization Technology (Intel VT).
Intel HAXM is now installed and ready to use. To verify that Intel HAXM is running, open a terminal window and execute the following command: kextstat | grep intel If Intel HAXM is operating correctly, the command will show a status message indicating that the kernel extension named " To stop or start Intel HAXM, use the following commands: Stop: sudo kextunload –b com.intel.kext.intelhaxm Start: sudo kextload –b com.intel.kext.intelhaxm Installing Intel HAXM on macOS via Android Studio
Note: This setting is obsolete since Intel HAXM 6.2.0.
To verify that Intel HAXM is running, open a terminal window and execute the following command: kextstat | grep intel If Intel HAXM is operating correctly, the command will show a status message indicating that the kernel extension named " To stop or start Intel HAXM, use the following commands: Stop: sudo kextunload –b com.intel.kext.intelhaxm Start: sudo kextload –b com.intel.kext.intelhaxm Removing Intel HAXMWarning: Close all instances of the Android emulator before removing Intel HAXM. Intel HAXM cannot be removed while in use. To uninstall Intel HAXM, open a terminal window and execute this command: Important: Removing Intel HAXM will disable acceleration for Android emulator. Existing x86 and x86_64 Android Virtual Devices may no longer boot. Installing Intel HAXM again will re-enable Android emulator acceleration. Using Intel HAXMIntel HAXM requires an Android x86 or x86_64 system image provided by Intel. These images can be downloaded through the Android SDK manager or manually from the Intel Developer Zone website. Intel x86 and x86_64 Android emulator images will automatically be executed using the "emulator" binary, provided with the Android SDK. If Intel HAXM is installed and working, emulation will be accelerated by Intel HAXM (using Intel Virtualization Technology). TroubleshootingIntel Execute Disable (XD) Bit capability error
Intel XD is not
supported Intel XD is not enabled Intel Virtualization Technology (VT-x) capability When installing Intel HAXM, you may encounter an error regarding Intel VT-x support. This error message can be triggered by the following conditions:
Intel VT-x is not supported Note: Apple computers have Intel VT-x permanently enabled if supported by the processor. Allowing HAXM to run on macOS High Sierra (10.13) and Mojave (10.14)
This is because macOS High Sierra by default blocks all third-party kernel extensions (KEXTs). Note that if you installed HAXM on a previous release of macOS before upgrading your system to High Sierra, you will not get this warning, and HAXM will work properly as before. If you do see the above warning, please go to System Preferences > Security & Privacy > General, and manually unblock HAXM by clicking on Allow for “Intel Corporation Apps” as shown in the screenshot below.
Tips and TricksBelow are some recommendations to get the best experience out of the Android emulator using the Intel HAXM driver.
|