emulator: ERROR: x86 emulation currently requires hardware acceleration!

来源:互联网 发布:京东java面试流程 编辑:程序博客网 时间:2024/05/18 00:32

创建Android emulator 出现的问题

emulator: ERROR: x86 emulation currently requires hardware acceleration!
Please ensure Intel HAXM is properly installed and usable.
CPU acceleration status: HAXM is not installed on this machine


解决方案:

1. Install the Intel x86 Emulator Accelerator using the Android SDK Manager.

  ------Open SDK Manager (In Android Studio, go to Tools > Android > SDK Manager) and Download Intel x86 Emulator Accelerator (HAXM installer) if you haven't. if no, then install it.

2. The Android SDK Manager does not actually install HAXM, it just downloads it. please open the subfolder of SDK folder extras\intel\Hardware_Accelerated_Execution_Manager and run the file manually: intelhaxm-android.exe.

3. To use the intel HAXM, you need to have a CPU with virtualization support:

Before attempting to use this type of acceleration, you should first determine if your development system’s CPU supports one of the following virtualization extensions technologies:

  • Intel Virtualization Technology (VT, VT-x, vmx) extensions
  • AMD Virtualization (AMD-V, SVM) extensions (only supported for Linux)

If your CPU does not have virtualization support, you could use an ARM emulator instead:

You can edit an existing, or add a new Virtual Device in the Android Virtual device Manager, and change CPU/ABI to ARM. If that option is not available, you may need to change the target API of the Virtual Device, or download an ARM system image for the API version you want using the Android SDK manager.




0 0
原创粉丝点击