gpt4 book ai didi

android - 如何启动 Xamarin 项目(模拟器错误(RedStone 4))

转载 作者:太空狗 更新时间:2023-10-29 13:03:35 26 4
gpt4 key购买 nike

我第一次尝试安装 Xamarin。我安装了它并打开了第一个虚拟项目。我没有对其进行任何更改,我只是想运行它。 (F5)

我得到的第一件事是

enter image description here

我单击“了解更多”,然后转到 Hardware Acceleration for Emulator Performance (Hyper-V & HAXM)

Hyper-v 是通过这台机器上的 bios 启用的,我知道这变成了我在这台机器上也有 docker,它使用 hyper-v 运行得很好。我运行了此网页中的所有设置,但无法解决问题。

我搜索了整个页面,但找不到有关 Windows spring creators 更新 (Redstone 4) 的任何信息。

如果我通过工具 -> Android -> Android 设备管理器。我得到以下屏幕。

enter image description here

这里的链接将我带到与以前相同的地方。 (Hyper-V 和 HAXM)](https://learn.microsoft.com/en-us/xamarin/android/get-started/installation/android-emulator/hardware-acceleration?tabs=vswin)

如果我无论如何尝试运行,模拟器都会启动,但它不会随项目一起启动。

系统信息

Hyper-V Requirements: A hypervisor has been detected. Features required for Hyper-V will not be displayed.

Hyper-v 正在运行 Docker 已经使用了几个月。是的,我在运行这个项目时禁用了 docker。

胜利者

Windows version says Version 1803 (OS build 17134.228) .

Visual Studio 版本

Visual studio 15.8.2

工具 > Android > Visual Studio 中的 Android SDK 管理器。

Android emulator is at 27.3.9 Android SDK tools is at 26.1.1

我做错了什么你如何使用 Xamarin 运行 android 项目。

最佳答案

How to start Xamarin emulator first time (Redstone 4)

如果您想使用 Hyper-V 来加速您的 Android 模拟器,您需要 verifying support for Hyper-V :

  1. Verify that your Windows Version is at least 1803
  2. Enable windows features
  3. 安装 Visual Studio 15.8 或更高版本
  4. 安装 Android 模拟器包 27.2.7 或更高版本

  5. 确保您已在设备上启用虚拟化技术。您可以通过以下方式找到它:

    Task Manager -> Performance -> Virtualization -> Enable or Disable. 

关于android - 如何启动 Xamarin 项目(模拟器错误(RedStone 4)),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/52110950/

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