'Visual Studio Emulator stuck on "Preparing Virtual Machine"
I installed Visual Studio Emulator and run but when click run button,it stucked on "preparing virtual machine" and no responding.
Screenshot:
I tried these following and all failed: 1.run "bcdedit /set hypervisorlaunchtype auto" and "Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V -All" then reboot, check the service menu and Hyper-V management to make sure all Hyper-V functions are actived.
2.add user permission for hyper-v group.
3.reinstall and repair visual studio emulator for Android.
4.some other solution serached are all tried but failed(-^-)
check emulatormgr.android.log and find these:
4> 2022/3/22 15:37:53 : [Critical] XDE Arguments: /sku Android /displayName "VS Emulator 10.1" Marshmallow (6.0.0) XHDPI Tablet" /memSize 2048 /diagonalSize 10.1 /video "2560x1600" /vhd "C:\Users\user\AppData\Local\Microsoft\VisualStudioEmulator\Android\Containers\Local\Devices\vhd\10.1_Marshmallow_(6.0.0)_XHDPI_Tablet\image.vhd" /name "VS Emulator 10.1-inch Marshmallow (6.0.0) XHDPI Tablet.user" /noStart /silent
4> 2022/3/22 15:37:53 : [Critical] XDE Exit Code: InvalidArguments (3)
I can't find more information about the Exit Code, most likely related to memory management? But how to fix it?
May someone help me, thanks!
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|

