In the SDK Manager, I see that HAXM installer isn't compatible with Windows for some reason. Refer screenshot:
I am using Xamarin with VS2017 Enterprise. I have disabled Secure Boot from my BIOS settings and Virtualization is enabled. It's a W530 laptop, with 16 gig RAM and 1 TB HDD on Windows 10. I downloaded haxm-windows_v6_2_1.zip (6.2.1)
from here: https://software.intel.com/en-us/articles/intel-hardware-accelerated-execution-manager-intel-haxm and when I run intelhaxm-android.exe
, it throw this error:
The emulator is an x86 phone and not an ARM one, as, apparently, the former is 10 times more faster (It throws that message). The skeletal project build with no issues
so I know the Android APIs are all correctly set with the target framework version. So when I select my custom emulator (x86 - API 25), in seconds, a deployment error is thrown:
The Output for Build shows this:
1>Starting deploy x86_API25 ...
1>Starting emulator x86_API25 ...
1>C:\PROGRA~2\Android\ANDROI~1\tools\emulator.EXE -partition-size 512 -no-boot-anim -avd x86_API25 -prop monodroid.avdname=x86_API25
1>emulator: ERROR: x86 emulation currently requires hardware acceleration!
1>Please ensure Intel HAXM is properly installed and usable.
1>CPU acceleration status: Please disable Hyper-V before using the Android Emulator. Start a command prompt as Administrator, run 'bcdedit /set hypervisorlaunchtype off', reboot.
1>Emulator x86_API25 cannot be started.
========== Deploy: 0 succeeded, 1 failed, 0 skipped ==========
And yes, Hyper-V IS disabled! It was done from the Command Line in Admin mode!
I have done what ever I did only after scanning the entire Stack Overflow site (and couple of other websites) so yes, I have done my homework.
Please help!