HAXM
Fix Yosemite HAXM
Fast android emulator
OS X AVD
HAXM Problem
The first step is to check why HAX module doesn’t work. Instead of starting the emulator from Android Studio, you can start it from the command line and set some parameters../emulator -avd your_avd -verbose
Using this command you start the emulator and it shows the logs on the stdout. If you take some time reading them, you can notice that after some lines describing the type of AVD you are starting and so on there is some lines like those shown below:
As you can see the log shows a message saying that is impossible to open HAX module even if it is installed correctly.
We can investigate more the problem, using the command
kextload
:sudo kextload -bunlde-id com.intel.kext.intelhaxm
the result is shown below:
It doesn't help us much, it just says it is impossible to load the module. The next step is using
kextutil
:sudo kextutil -bunlde-id com.intel.kext.intelhaxm
It returns the information shown below:
Finally we found out the reason, it is a signature problem. I guess it is because this module isn't certified for OS Yosemite.
HAXM Yosemite fix
We have to run this command to fix the HAXM problem under Yosemite:sudo nvram boot-args="kext-dev-mode=1"
and then reboot.
Now re-install the HAXM module again and start the emulator we can notice from the log that we have:
The problem is fixed! Enjoy the fast emulator with HAXM
0 comments:
Post a Comment