gpt4 book ai didi

android - 适用于 android 的 Visual Studio (2015) 模拟器无法正常工作 - XDE.exe - 退出代码 10

转载 作者:IT老高 更新时间:2023-10-28 23:13:22 26 4
gpt4 key购买 nike

我在 Visual Studio 2015 中创建了一个新的 App (Xamarin.Forms Portable) 项目。

当我尝试在 Visual Studio Emulator for Android 中运行 Droid 项目时,我只收到一条通用错误消息:

Could not launch 'VS Emulator 5" KitKat (4.4) XXHDPI Phone' device. Exit code 10

日志消息是

06-Aug-15 1:42:39 PM: [Informational] Reinitializing installed profiles.
06-Aug-15 1:42:39 PM: [Informational] Installed profiles initialized. Devices: 2 Platforms: 1
06-Aug-15 1:42:42 PM: [Informational] Reinitializing installable profiles.
06-Aug-15 1:42:42 PM: [Informational] Installable profiles initialized. Devices: 30 Platforms: 4
06-Aug-15 1:42:46 PM: [Informational] Waiting to launch device...
06-Aug-15 1:42:46 PM: [Informational] Launching Device: 5" KitKat (4.4) XXHDPI Phone
06-Aug-15 1:42:46 PM: [Informational] Validating emulator arguments...
06-Aug-15 1:42:46 PM: [Informational] Determining if emulator is already running...
06-Aug-15 1:42:46 PM: [Informational] Preparing virtual machine...
06-Aug-15 1:43:46 PM: [Informational] Launching emulator...
06-Aug-15 1:44:40 PM: [Critical] Could not launch 'VS Emulator 5" KitKat (4.4) XXHDPI Phone' device. Exit code 10.
06-Aug-15 1:44:40 PM: [Critical] XDE Path: C:\Program Files (x86)\Microsoft XDE\10.0.10240.0\xde.exe
06-Aug-15 1:44:40 PM: [Critical] XDE Arguments: /sku Android /displayName "VS Emulator 5\" KitKat (4.4) XXHDPI Phone" /memSize 2048 /diagonalSize 5 /video "1080x1920" /vhd "C:\Users\jagan\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.jagan"
06-Aug-15 1:44:40 PM: [Critical] XDE Exit Code: 10

最佳答案

你是在物理机上运行模拟器吗?我有类似的问题,但在嵌套的虚拟机中。

您是否检查过 hyper-v 管理器是否正常运行?尝试打开它并手动启动虚拟机并检查结果。

此外,您可以在虚拟交换机中查看属性非常重要。 hyper-v 的大部分问题都是由于虚拟交换机中的错误配置造成的。

你检查过这个答案吗?

Visual studio (2015) emulator for android not working - XDE.exe - Exit Code 3

尝试这样做

1) Repair Android SDK - go to Programs and Features > Microsoft Visual Studio Emulator for Android > Change and hit "Repair"

2) Remove All Hyper-V virtual switches - go to Hyper-V > Virtual switch manager > Remove all virtual switches

3) Run XdeCleanup.exe - In my case: "C:\Program Files (x86)\Microsoft XDE\10.0.10240.0"

4) In my case I had configured Internet connection sharing on Ethernet adapter before so I had to disable it

检查所有这些并发布更多信息,我需要更多详细信息才能给您更完整的答案。

关于android - 适用于 android 的 Visual Studio (2015) 模拟器无法正常工作 - XDE.exe - 退出代码 10,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/31851539/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com