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)
The former is called SDK Manager, which integrates easy updates for the Software Development Kit (SDK), including tools, platforms, and other components into packages. The latter is AVD Manager, which allows you to create and manage Android Virtual Devices (AVDs). AVDs are basically device emulators.
Open the Preferences window by clicking File > Settings (on Mac, Android Studio > Preferences). In the left panel, click Appearance & Behavior > System Settings > Updates. Be sure that Automatically check for updates is checked, then select a channel from the drop-down list (see figure 1). Click Apply or OK.
Quick fix: Go to the Tools –> SDK manager –> SDK tools. Deselect Hide obsolete packages option on the right bottom and further install Android SDK Tools(obsolete). A new folder named Tools is now generated in the SDK directory.
Failed to install the following Android SDK packages as some licences have not been accepted. To build this project, accept the SDK license agreements and install the missing components using the Android Studio SDK Manager.
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
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.
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