简体   繁体   English

Visual Studio 2015无法启动Android Simulator(Hyper-V)

[英]Visual Studio 2015 can not launch Android Simulator(Hyper-V)

My Visual Studio 2015 can not launch Android Simulator. 我的Visual Studio 2015无法启动Android Simulator。 It appear the hyper-v error message, even I on/off hyper-v in control panel feature UI. 即使在控制面板功能UI中打开/关闭hyper-v,它也会显示hyper-v错误消息。 Could somebody know how to solve this problem? 有人知道如何解决这个问题吗? I attach the error message picture. 我附上错误消息图片。

The emulator is unable to verify the virtual machine is running Open emulator problem 模拟器无法验证虚拟机是否正在运行Open模拟器问题

log
 3> 2016/5/17 下午 10:57:29 : [Informational] Launching Device: 5" KitKat (4.4) XXHDPI Phone
 3> 2016/5/17 下午 10:57:29 : [Informational] Validating emulator arguments...
 3> 2016/5/17 下午 10:57:29 : [Informational] Determining if emulator is already running...
 3> 2016/5/17 下午 10:57:29 : [Informational] Preparing virtual machine...
 3> 2016/5/17 下午 10:57:32 : [Informational] Launching emulator...
 3> 2016/5/17 下午 10:58:06 : [Critical] Could not launch 'VS Emulator 5" KitKat (4.4) XXHDPI Phone' device. Exit code 10.
 3> 2016/5/17 下午 10:58:06 : [Critical] XDE Path: C:\Program Files (x86)\Microsoft XDE\10.0.10586.0\xde.exe
 3> 2016/5/17 下午 10:58:06 : [Critical] XDE Arguments: /sku Android /displayName "VS Emulator 5\" KitKat (4.4) XXHDPI Phone" /memSize 2048 /diagonalSize 5 /video "1080x1920" /vhd "C:\Users\akira_mac\AppData\Local\Microsoft\VisualStudioEmulator\Android\Containers\Local\Devices\vhd\5_KitKat_(4.4)_XXHDPI_Phone\image.vhd" /name "VS Emulator 5-inch KitKat (4.4) XXHDPI Phone.akira_mac"
 3> 2016/5/17 下午 10:58:06 : [Critical] XDE Exit Code: CouldntStartVm (10)

在此处输入图片说明

You should "Enable Nested Virtualization" in the configuration of your Parallels Desktop Virtual machine. 您应该在Parallels Desktop虚拟机的配置中“启用嵌套虚拟化”。

Go to Actions menu ► Configure ► Hardware ► CPU&Memory. 转到“操作”菜单►配置►硬件►CPU和内存。 Expand "Advanced Settings" and tick Enable Nested Virtualization checkbox. 展开“高级设置”,然后选中“启用嵌套虚拟化”复选框。

see http://kb.parallels.com/en/116239 for more details. 有关更多详细信息,请参见http://kb.parallels.com/en/116239

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM