It was all good until a few weeks ago, when I tried to open AVD from Android Studio, and it said HAX is not installed, as shown below:
I went to the extras folder for Android sdk, and reinstalled HAX it says it is already installed, And it would work after a reinstallation, as shown below:
BUT!! BUT!! Every time I shutdown my laptop, and restart it, it would tell me that /dev/HAX is missing, again! Every time. How can I solve this problem?
Specs: Macbook Pro Early 2015, El Cap, Android Studio 1.4
Thank you!
Android Virtual Devices fail to launch on ChromeOS On ChromeOS, Android Virtual Devices (AVDs) might fail to launch because the libnss3 dependency is missing. To launch the AVDs successfully, run sudo apt install libnss3 to manually install the libnss3 library.
Check in your build. gradle file if the targetSDK and minimumSdk version is lower or equal to the sdk version of your Emulator. If your case is different then restart your Android Studio and run the emulator again. Save this answer.
In Android Studio, click File > Project Structure. Select SDK Location in the left pane. The path is shown under Android SDK location.
Run and stop an emulator, and clear data To stop a running emulator, click Menu and select Stop. To clear the data for an emulator, select Wipe Data. Or click Menu and select Wipe Data.
I have the same problem on my Mac running El Capitan. For some reason, the /dev/HAX device is removed after reboot or after sleep.
I have found this command to work inserting the module back into the kernel:
sudo kextutil /Library/Extensions/intelhaxm.kext
Just run it from the terminal.
It does not solve the problem, but at least it doesn't require a complete reinstall of the haxm module.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With