可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
I am running on Windows 8.1 x64, developing Android apps using ADT Bundle. Previously (before updating the Android SDK Tools) the AVD was working very correctly and after the update, it says the following error while starting the AVD
emulator: ERROR: x86 emulation currently requires hardware acceleration!
Please ensure Intel HAXM is properly installed and usable.
CPU acceleration status: HAX kernel module is not installed!
I tried to delete the avd, avd-folder from the windows user-specific folder and re-created the similar avd but no progress.
How can I run the avd again? (after the SDK update)
回答1:
Create emulator in CPU/ABI in ARM, this error only exist for Intel processor.
If you want to create AVD CPU/ABI in Intel gor for this process,
Make sure you have instaled HAXM installer on your SDK Manager.
After you download it make sure you run the setup located in: {SDK_FOLDER}\extras\intel\Hardware_Accelerated_Execution_Manager\intelhaxm.exe
If you get the error "VT not supported" during the installation disable Hyper-V on windows features. You can execute this command dism.exe /Online /Disable-Feature:Microsoft-Hyper-V. You will also need "Virtualization Technology" to be enabled on your BIOS
回答2:
I've run into the same problem here and in my research I was able to find a documentation on the android developer site that helped me out with this.
Start the Android SDK Manager, select Extras and then select Intel Hardware Accelerated Execution Manager.
After the download completes, run [sdk]/extras/intel/Hardware_Accelerated_Execution_Manager/IntelHAXM.exe
Follow the on-screen instructions to complete installation.
After installation completes, confirm that the virtualization driver is operating correctly by opening a command prompt window and running the following command:
sc query intelhaxm
You should see:
SERVICE_NAME: intelhaxm
...
STATE : 4 RUNNING
...
Refer to this documentation here: Using the Emulator - Configuring VM Acceleration on Windows
Hope it helps.
回答3:
I am having the same problem. I did change my BIOS and all previously, when I was running Windows 7. Now I'm up on 8.1 and the VT-x is not supported. Thus, apparently it does not work on Windows 8. Intel link. Go down the page and it lists the Windows Operating Systems that it does support.
It also states that on the developer's page Android Developer's Using the Emulator; I have been researching other options, see this stackoverflow question, but when I check my BIOS it does not state "Intel Virtualization Technology" just "Virtualization Technology". I'm not sure at this point if my computer runs this or not. It should as it's an Intel i7.
回答4:
Start the Android SDK Manager, select Extras and then select Intel Hardware Accelerated Execution Manager.
After the download completes, execute /extras/intel/Hardware_Accelerated_Execution_Manager/IntelHAXM.exe.
Follow the on-screen instructions to complete installation.
After installation completes, confirm that the virtualization driver is operating correctly by opening a command prompt window and running the following command:
sc query intelhaxm
You should see a status message including the following information:
SERVICE_NAME: intelhaxm
...
STATE : 4 RUNNING
...
回答5:
FIXED
If you are having issues with the HAXM and it's not working to do what everyone else is saying to do try this:
1.Make sure you've already tried the steps above
(Enable Virtualization in the BIOS, as well as Uninstall and Re-Install the HAXM option from the SDK Manager)
Exit out of Android Studio.
Download and Instal HAXM DIRECTLY from Intel.
https://software.intel.com/en-us/android/articles/intel-hardware-accelerated-execution-manager
Start Android Studio.
Voila!
回答6:
On Android Studio 1.3 this worked for me:
Go to Tools -> Android -> SDK Manager
There under Appearance & Behavior -> System Setting -> Android SDK
From there click on the SDK Tools tab
You should see Intel x86 Emulator Accelerator in the list.
Mine was not installed. I clicked the check box to install it.