Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Error while starting emulator

Tags:

I am running an android application on emulator. It was working fine till yesterday and today I updated android studio. I am getting following error. How to resolve this?

emulator: WARNING: Increasing RAM size to 1GB emulator: ERROR: x86 emulation currently requires hardware acceleration! Please ensure Intel HAXM is properly installed and usable. CPU acceleration status: HAXM must be updated (version 1.1.1 < 6.0.1).

like image 480
vipin agrahari Avatar asked Dec 15 '15 06:12

vipin agrahari


2 Answers

Start the Android SDK Manager, select Extras and then select Intel Hardware Accelerated Execution Manager. and your download completed here.

if still not works

Got to your SDK folder and goto

/extras/intel/Hardware_Accelerated_Execution_Manager/IntelHAXM.exe.

Follow the on-screen instructions to complete installation.

Or for OS X you can do it without onscreen prompts like this

/extras/intel/Hardware_Accelerated_Execution_Manager/HAXM\ 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

To run an x86-based emulator with VM acceleration: If you are running the emulator from the command line, just specify an x86-based AVD: emulator -avd <avd_name>

Also before executing the commands mentioned above, ensure that you've enabled the 'Virtualization' in your system setting through BIOS setup

If you follow all the steps mentioned above correctly, then surely you should be able to see your AVD with HAXM coming up normally.

like image 190
Mr Robot Avatar answered Oct 15 '22 08:10

Mr Robot


I had to uninstall version 1.1.1 by going to:

C:\Users\userid\AppData\Local\Android\sdk\extras\intel\Hardware_Accelerated_Execution_Manager> 

then type in silent_install.bat -v to verify the current version. then silent_install.bat -u to uninstall then silent_install.bat to install version 6.0.1 in my case.

like image 28
paul Avatar answered Oct 15 '22 06:10

paul