Forum Xamarin.Android

Android Emulator Will Not Start/Hardware Accel Config Issue?

Hi Guys,

Just upgraded to Windows 10 Professional so I could take advantage of hardware acceleration, but I get the error message below from the build. I put my system info below that, and the VS version stuff below that. Thanks for the help! Brett

===================

Starting emulator pixel_2_pie_9_0_-api_28 ...
C:\Program Files (x86)\Android\android-sdk\emulator\emulator.EXE -no-boot-anim -no-snapshot-load -avd pixel_2_pie_9_0
-api_28 -prop monodroid.avdname=pixel_2_pie_9_0-_api_28
1>------ Build started: Project: TripLog, Configuration: Debug Any CPU ------
RegGetValueW failed 2 The system cannot find the file specified. Warning: Quick Boot / Snapshots not supported on this machine. A CPU with EPT + UG features is currently needed. We will address this in a future release.

emulator: ERROR: x86 emulation currently requires hardware acceleration!
Please ensure Windows Hypervisor Platform (WHPX) is properly installed and usable.
CPU acceleration status: HAXM is not installed on this machine
Emulator pixel_2_pie_9_0_-_api_28 cannot be started.
Runtime checks completed
Build has been canceled.

================================

C:\Users\Brett>systeminfo

Host Name: MOHICAN
OS Name: Microsoft Windows 10 Pro
OS Version: 10.0.18363 N/A Build 18363
OS Manufacturer: Microsoft Corporation
OS Configuration: Standalone Workstation
OS Build Type: Multiprocessor Free
Registered Owner: Brett
System Type: x64-based PC
Processor(s): 1 Processor(s) Installed.
[01]: Intel64 Family 6 Model 30 Stepping 5 GenuineIntel ~2801 Mhz
BIOS Version: American Megatrends Inc. 1602 , 12/16/2010
Windows Directory: C:\WINDOWS
System Directory: C:\WINDOWS\system32
Boot Device: \Device\HarddiskVolume3
System Locale: en-us;English (United States)
Input Locale: en-us;English (United States)
Time Zone: (UTC-08:00) Pacific Time (US & Canada)
Total Physical Memory: 8,190 MB
Available Physical Memory: 2,849 MB
Virtual Memory: Max Size: 16,382 MB
Virtual Memory: Available: 9,188 MB
Virtual Memory: In Use: 7,194 MB
Page File Location(s): C:\pagefile.sys
Domain: WORKGROUP
Logon Server: \MOHICAN
Hotfix(s): 10 Hotfix(s) Installed.
[01]: KB4537572
[02]: KB4513661
[03]: KB4516115
[04]: KB4517245
[05]: KB4524244
[06]: KB4528759
[07]: KB4537759
[08]: KB4538674
[09]: KB4541338
[10]: KB4541335
Network Card(s): 4 NIC(s) Installed.
[01]: SonicWALL NetExtender Adapter
Connection Name: Local Area Connection 2
DHCP Enabled: No
IP address(es)
[02]: Realtek PCIe GbE Family Controller
Connection Name: Local Area Connection
Status: Media disconnected
[03]: 802.11ac Wireless LAN Card
Connection Name: Wireless Network Connection
DHCP Enabled: Yes
DHCP Server: 192.168.1.254
IP address(es)
[01]: 192.168.1.66
[02]: fe80::b9a4:8b0e:995d:95d9
[03]: 2600:1700:d610:d750:1dc3:b692:2434:a49e
[04]: 2600:1700:d610:d750:b9a4:8b0e:995d:95d9
[05]: 2600:1700:d610:d750::49a
[04]: Hyper-V Virtual Ethernet Adapter
Connection Name: vEthernet (Default Switch)
DHCP Enabled: No
IP address(es)
[01]: 192.168.41.1
[02]: fe80::b1ed:3416:50c8:2c96
Hyper-V Requirements: A hypervisor has been detected. Features required for Hyper-V will not be displayed.

=====================================================================================
Microsoft Visual Studio Community 2019
Version 16.4.5
VisualStudio.16.Release/16.4.5+29806.167
Microsoft .NET Framework
Version 4.8.03752

Xamarin 16.4.000.311 ([email protected])
Visual Studio extension to enable development for Xamarin.iOS and Xamarin.Android.

Xamarin Designer 16.4.0.475 (remotes/origin/[email protected])
Visual Studio extension to enable Xamarin Designer tools in Visual Studio.

Xamarin Templates 16.4.25 (579ee62)
Templates for building iOS, Android, and Windows apps with Xamarin and Xamarin.Forms.

Xamarin.Android SDK 10.1.4.0 (d16-4/e44d1ae)
Xamarin.Android Reference Assemblies and MSBuild support.
Mono: fd9f379
Java.Interop: xamarin/java.interop/[email protected]
ProGuard: xamarin/proguard/[email protected]
SQLite: xamarin/sqlite/[email protected]
Xamarin.Android Tools: xamarin/xamarin-android-tools/[email protected]

Xamarin.iOS and Xamarin.Mac SDK 13.10.0.17 (5f802ef)
Xamarin.iOS and Xamarin.Mac Reference Assemblies and MSBuild support.

Best Answer

Answers

  • bapgobearsbapgobears Member ✭✭

    It works on my computer at work and I notice when I do a systeminfo on that machine the Hyper-V requirements come back -
    Hyper-V Requirements: VM Monitor Mode Extensions: Yes
    Virtualization Enabled In Firmware: Yes
    Second Level Address Translation: Yes
    Data Execution Prevention Available: Yes

    Not sure why my machine at home is returning
    Hyper-V Requirements: A hypervisor has been detected. Features required for Hyper-V will not be displayed.

    and I'm not sure if this even matters?

  • bapgobearsbapgobears Member ✭✭

    Thank you so much emadyounan!!

Sign In or Register to comment.