Android Virtual Device not running - android

my avd is not running on eclipse. sometimes it says, haxm is not installed. sometimes just a black screen appears and nothing happens. why is this happening? i tried to reinstall but nothing happened. but it was working few days ago and suddenly this is happening. i cant run my apps on emulator. how to fix this?? i am using a windows 10 tech preview 64 bit. i have tried to run eclipse on my laptop windows 7 64 bit with different version, same problem. so there must be some technical problem that i dont know, pls help.....

HAXM, the Intel Android Virtualization Technology is incompatible with Hyper-V. Turn off Hyper-V and give it a go again. Hyper-V will often be installed if you have installed Visual Studio with Windows Phone tools. Or maybe Hyper-V is just turned on somehow?
Or from an admin command prompt run the following. Note to get an admin cmd prompt, right-mouse the windows icon, click Command Prompt (Admin ).
To turn off Hyper-V run this: bcdedit /set hypervisorlaunchtype off and then reboot
To turn Hyper-V back on, run this: bcdedit /set hypervisorlaunchtype auto And then reboot
You can turn off Hyper-V in the services menu (type "Services" in the Search thingy), and also use the Services menu to turn it back on. Even though it may not be necessary I still reboot after doing it this way.
Blog post on this here - Blog post on this here - http://www.devfish.net/post/2015/08/18/error-x86-emulation-currently-requires-hardware-acceleration-android-on-windows.aspx
Healy in Tampa

Android emulators are not super reliable. Can you try using genymotion (http://www.genymotion.com/). It is free for personal use and it is super fast.

Open the Android SDK Manager from Eclipse tab "Window", check the box at the very bottom in the Extra folder that says "Intel x86 Emulator Accelerator (HAXM installer)" and click Install package. I think you are using an emulator with VM Acceleration.

Related

How can I run Android Studio (Android SDK Emulator) in Windows 10 Home edition? [duplicate]

This question already has answers here:
Error during installing HAXM, VT-X not working
(25 answers)
Closed 5 years ago.
I want to learn android and I installed Android Studio and create an emulator from Android Emulator Manager and later I got that my windows 10 is Home edition and it does not have Hyper-V option though I enabled Virtualization technology from Bios. But Android Emulator cannot recognize it and telling me to turn on the VT. I am unable to run the emulator. How can I run the emulator?
Thank you.
HAXM, the Intel Android Virtualization Technology is incompatible with Hyper-V. Turn off Hyper-V and give it a go again. Hyper-V will often be installed if you have installed Visual Studio with Windows Phone tools.
Or from an admin command prompt run the following. Note to get an admin cmd prompt, right-mouse the windows icon, click Command Prompt (Admin ).
To turn off Hyper-V run this: bcdedit /set hypervisorlaunchtype off and then reboot
To turn Hyper-V back on, run this: bcdedit /set hypervisorlaunchtype auto And then reboot
You can turn off Hyper-V in the services menu (type "Services" in the Search thingy), and also use the Services menu to turn it back on. Even though it may not be necessary I still reboot after doing it this way.
Blog post on this here - http://www.devfish.net/post/2015/08/18/error-x86-emulation-currently-requires-hardware-acceleration-android-on-windows.aspx

Failed to Run AVD on AndroidStudio 2.1.2 Win7

I'm new to Android, i have downloaded Android studio 2.1.2 and SDK. After reading references from google i wrote HelloWorld application, which can run on my phone.
But due to certain reasons i have to run AVD in AndroidStudio to execute my application. but is shows following error
Intel HAXM is required to run this AVD. /dev/kvm is not found.
Enable VT-x in your BIOS security settings, ensure that your Linux
distro has working KVM module.
Following things i have done so far.
Installation of HAXM manually.
Enabled Virtualization from BIOS.
Some of the references on stackoverflow suggested to uncheck Hyper-V
option in Turn on off windows feature. (i have found nothing like
hyper-V there)
I'm running Windows 7
I'm just stuck here. any help would be highly appreciated.
EDIT:
I have read that Dell Optiplex760 does not support virtualization.
but i can run VirtualBox on my machine. moreover i have seen Virtualization option in BIOS. Also Secureable shows that my system supports Virtualization.
First, reboot you system, press the hot key to enter the BIOS.
enter BIOS
Second, enable the Inter(R) Virtualization Technology and save.
enable VT
Third, start up your computer, enter CMD, input "sc query intelhaxm" to check the state.
CMD command
Forth, start up your AVD, if error happens like that. Go next step.
error tips
Finally, go into your SDK directory, reintall the intellhaxm-android.exe again, then launch the AVD Monitor.
reinstall haxm
I hope it works.

Unable to run Android Studio Emulator - "(VT-x) is not turned one" when installing HAXm

I've seen many posts similar to my problem, and even though I tried to do the same steps, it still didn't work.
Intel Core i7 - 2670QM CPU # 2.20GHz Windows 10
I need to create an emulator for Android Studio in order to test my apps, but it doesnt work, it says that I need Intel HAXM.
Then I try to install and says (VT-x) is not enable (like in the picture below)
Error while installing HAXM
I've already tried:
(1) Check the BIOS (there is no option in my BIOS about VT-x virtualization, but I've check with the application "coreinfo" that says its actually working on my system.
(2) Disable Hyper-V on Windows (also, I couldn't find this option on "Windows Features" on Windows 10, but I've disabled everything that says Hyper-V in Windows "Services"
(3) I've checked about AVAST.
(4) I've updated my Windows
Thank you guys!!
I just don't get the fact that Windows doesnt show the Hyper-V option, and the BIOS doesnt give VT-x option also, but the Haxm_check says:
"VT support -- yes
NX support -- yes"
You don't mention what OS you're using. Have you tried downloading separate installer rather than install thru Android studio
https://software.intel.com/en-us/android/articles/intel-hardware-accelerated-execution-manager
also run the bcedit commands to make sure the CPU is enabled, not just capable
bcdedit /set hypervisorlaunchtype off
bcdedit /set nx AlwaysOn
your list shows hypervisor enabled. You should go into control panel>Programs>turn WINDOWS features on/off on the left side. Then whether it's on or off you should still see the HyperV checkbox. Make sure nothing is checked. If it's really off, you should be able to search for HyperV Manager and not find it.

Android Studio Emulator not loading Windows 10

I have a fresh install of android studio on Windows 10, with all the packages for android api 22. When I run the emulator I get the following message
C:\Users\admin\AppData\Local\Android\sdk\tools\emulator.exe -avd foo -netspeed full -netdelay none
emulator: device fd:928
HAX is working and emulator runs in fast virt mode
I can see the emulator in the task manager, but it doesn't actually load.
I've been looking for answers to why it doesn't load and I've made sure all the ram settings are correct, but I don't understand why the emulator won't load.
Thanks
HAXM, the Intel Android Virtualization Technology is incompatible with Hyper-V. Turn off Hyper-V and give it a go again. Hyper-V will often be installed if you have installed Visual Studio with Windows Phone tools.
Or from an admin command prompt run the following.
Note to get an admin cmd prompt, right-mouse the windows icon, click Command Prompt (Admin ).
To turn off Hyper-V run this:
bcdedit /set hypervisorlaunchtype off
and then reboot
To turn Hyper-V back on, run this:
bcdedit /set hypervisorlaunchtype auto
And then reboot
You can turn off Hyper-V in the services menu (type "Services" in the Search thingy), and also use the Services menu to turn it back on. Even though it may not be necessary I still reboot after doing it this way.
Blog post on this here - http://www.devfish.net/post/2015/08/18/error-x86-emulation-currently-requires-hardware-acceleration-android-on-windows.aspx
Healy in Tampa
This has a very simple solution only if the installation process is complete and still the emulator is not launching, Solution: Just try to use older API version or any older stable android API version. In my case, the latest version I was having was API-31, but the API-28 worked for me. Change you android API to any older version Try it. This worked for me.

Android SDK's Intel HAXM disabled after installing Hyper V

I'm developing a suite of mobile apps - specifically Windows Store/Mobile 8 and Android.
Having installed VS2012 and then Monodroid, I was then able to start x86 Android images in the emulator and take advantage of the Intel HAXM acceleration (emulator output confirms HAXM working) to make the VM buttery-smooth.
I then installed the Windows Phone 8 SDK - which enables the Hyper V role - and now the emulator says it can't find HAXM. I then uninstalled and tried to reinstall HAXM, but now it won't - saying that my processor doesn't support it.
The VT-x extensions are still enabled in the BIOS - so I'm thinking that Hyper-V has blocked the Intel HAXM from working.
Of course it's not a killer - but a non-accelerated Android image is considerably slower than one with HAXM enabled - anybody else encountered this problem? Googling isn't bringing up anything obvious...
Update (30th Nov 2012)
Per #alexw's suggestion I tried stopping & disabling Hyper-V; with a restart. It still doesn't work.
I realise the next step is probably to the Windows Phone SDK (and remove Hyper-V) and then try again - to confirm that it really is the presence of Hyper-V. At the moment this is less than convenient - but I'll try and do it soon and update.
The best thing you can do to get HAXM detect VT again, is turning the whole Hyper-V "Feature" off. Open "Control Panel -> "Programs" -> "Turn Windows features on or off" (under "Programs and Features") and locate "Hyper-V", uncheck, reboot.
Looks like Hyper-V and HAXM are mutually exclusive, which is kind of a nuisance, because you even need to reboot twice to enable or disable either feature.
I was in your same case that needed to support Hyper-V and Intel HAXM. Disabling and enabling the feature and then restarting was overkill so I found an alternative solution.
You can create 2 boot entries, one for Windows with the regular configuration of Hyper-V enabled and another one with Hyper-V disabled. I logged in with the second one (Hyper-V disabled) and I was able to install Intel HAXM.
To accomplish this you need:
Open a command prompt as Administrator
Enter the command: bcdedit /copy {current} /d "Windows 8 - No Hyper-V"
This will output an id with the format {GUID} that you need to copy it to use it in the next command.
Enter the command: bcdedit /set { copied GUID of step 3 } hypervisorlaunchtype off
More details in this post.
I had a similar problem installing HAXM on Windows 8. I did the following with no effect:
Disabled hypervisor using the instructions here (http://blogs.msdn.com/b/virtual_pc_guy/archive/2008/04/14/creating-a-no-hypervisor-boot-entry.aspx)
Double checked that processor supported VT-x and was enabled in BIOS (BIOS said "supported", but there was no option to turn it on
Verified that all Hyper-V services in control panel were stopped (and never automatically started)
Performed a complete shutdown and a cold boot up.
However, I tried installing VirtualBox after the above actions (VirtualBox installed fine) and created a new VM. Running the VM caused my machine to blue screen, but after the reboot HAXM installed fine. Perhaps running VirtualBox flips some sort of flag at the OS level to allow HAXM to install.
I was also running AVAST at that time, and according this (Running the new Intel emulator for Android), that may cause a problem. However, I didn't have to disable AVAST to get HAXM installed.
You could try stopping the Hyper-V service when not needed and re-enabling it when you want to work on a WP8 project. It's a pain but the performance improvement offered by HAXM is immense.
Open services.msc, find the hvboot service (Hyper-V) and stop it. If this doesn't help you may need to disable the service and restart your pc.
I had the same problem. After a long search I found the answer. In my case, I had installed Avast Antivirus, first uninstall avast, reboot your PC, install Haxm, reboot. you can install again antivirus.

Categories

Resources