ERROR: x86 HAX kernel module is not installed! But it is installed

╄→гoц情女王★ 提交于 2019-12-11 03:13:47

问题


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:

Here is a screenshot of where I installed intel HAXM in the sdk.

Here is the error message:

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


回答1:


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.




回答2:


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:

Click and run intelhaxm-android.exe installer.


In the next window, leave RAM share for the emulator on the default 1024 MB. Continue and finish the installation.


Run your application in Android Studio and select your emulator (Here, Nexus 5 API 21 X86).

The emulator runs as follows:



来源:https://stackoverflow.com/questions/27726367/error-x86-hax-kernel-module-is-not-installed-but-it-is-installed

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!