c# - Android 模拟器没有响应 Xamarin 的 AMD 进程的问题

标签 c# android xamarin android-emulator mono

当我将 Windows 更新到 Windows 11 时,我注意到当我为我的 Xamarin 项目运行 android 模拟器时,它卡住并说没有响应。
enter image description here
我尝试以下这些项目,但无法解决我的问题:

  • 减小仿真器设备的内存大小
  • 降低模拟器设备的分辨率
  • 重新安装Android SDK
  • 重新安装 Visual Studio
    我的 Windows 功能中启用了我的虚拟机平台和 Hyper-V。

  • 我的模拟器详细信息是:

    OS: Android 12

    Ram: 4GB

    Resolution : 1080x2340 pixels

    Google Services: true

    最佳答案

    对于 AMD 进程,我们需要向 Visual Studio 明确我们使用 AMD 进程,并且它应该将模拟器行为更改为我们的进程。
    首先,就像我说的,我们需要确保 Virtual Machine PlatformHyper-V启用是因为必须在 Visual Studio 中运行 android 模拟器。
    enter image description here
    其次,我们需要确保 Android Emulator Hypervisor Driver for AMD Processors在 Visual Studio 中选择。
    适用于 AMD 处理器的 Android Emulator Hypervisor 驱动程序:

    Visual Studio > Tools > Android > Android SDK Manager > Tools > Extras > Android Emulator Hypervisor Driver for AMD Processors
    
    enter image description here
    三、Restart你的 Visual Studio ,你很高兴去享受你在 AMD 处理器上的安卓模拟器。

    关于c# - Android 模拟器没有响应 Xamarin 的 AMD 进程的问题,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/71460025/

    相关文章:

    c# - 绑定(bind)到 Text 属性 ios-unified 不起作用

    ios - Remote Simulator to Windows 选项不存在

    c# - 单独组装和路由中的 Controller

    c# - 在 visual studio c# 上启用 tls

    时间:2019-03-17 标签:c#opennetcfRegistryHelper.SaveHiveBasedKey

    android - 从 Android native Activity 加载第 3 方共享库

    android - Google Play 游戏服务 - 实时多人游戏 - STATUS_CLIENT_RECONNECT_REQUIRED

    c# - 添加 ActiveX 控件的 Interactive Brokers API 问题

    android - 撰写 UI 测试 - 如何断言文本颜色?

    ios - 无法在 Xamarin iOS 项目中安装包 NLog 4.3.0-alpha3