ERROR: x86 HAX kernel module is not installed! But

2019-07-19 18:15发布

This is a problem that I've researched and googled but have not found any answers for that I haven't already tried. I'm using android studio kit to learn how to develop android application but I can't get pass launching the avd emulator. I set the path for the sdk in environment variables like this:enter image description here

Here is a screenshot of where I installed intel HAXM in the sdk. enter image description here

Here is the error message: enter image description here

Can somebody out there give me some advise on how to solve this problem. Thank you sincerely.

标签: android sdk avd
2条回答
女痞
2楼-- · 2019-07-19 18:56

Unless you chose a different location from Google's recommended one when installing the SDK, the path to Intel HAX installer should be %userprofile%\AppData\Local\Android\sdk\extras\intel\Hardware_Accelerated_Execution_Manager which you can open via Windows Run. Then the following explorer window opens:
enter image description here Click and run intelhaxm-android.exe installer.
enter image description here
In the next window, leave RAM share for the emulator on the default 1024 MB. Continue and finish the installation.
enter image description here
Run your application in Android Studio and select your emulator (Here, Nexus 5 API 21 X86).
enter image description here The emulator runs as follows:
enter image description here

查看更多
SAY GOODBYE
3楼-- · 2019-07-19 19:10

The SDK Manager only downloads HAXM. It does not actually install it. For Windows, in the extras\ directory in your SDK installation, you should find an intel\ directory. Drill down inside of there to find a self-installing .EXE file. Run that and follow the prompts in the wizard. Note that you may need to reboot to update your BIOS settings to enable virtualization extensions.

See also this outstanding Android tools issue.

查看更多
登录 后发表回答