【问题标题】:Visual Studio Emulator for Android couldn’t determine the host IP addressVisual Studio Emulator for Android 无法确定主机 IP 地址
【发布时间】:2017-01-01 02:14:03
【问题描述】:

每当我尝试使用 Visual Studio 2015 中的 Android Emulator 调试和运行应用程序时,都会出现以下错误。所以请帮帮我,我对这个错误非常努力。

模拟器无法连接到设备操作系统:

无法自动检测访客系统 IP 地址。

某些功能可能被禁用。

谢谢

【问题讨论】:

标签: visual-studio xamarin xamarin.android


【解决方案1】:

需要检查两件事:

  1. VS2015 安装的组件。

  1. 更重要的是确保在网络连接中启用了 vEthernet(内部以太网端口 Windows Phone 模拟器内部交换机)。

【讨论】:

    【解决方案2】:

    要解决这个问题,我:

    • 打开 Hyper-V 管理器
    • 转到右侧窗格中的虚拟交换机管理器
    • 已删除所有虚拟交换机
    • 然后打开 Visual Studio Emulator
    • 已删除所有 Android 模拟器
    • 已卸载/重新安装了适用于 Visual Studio 的 Android 模拟器
    • 打开重新安装的 Visual Studio 模拟器
    • 下载了一个模拟器并运行,它又可以工作了

    【讨论】:

    • 如何打开Hyper-V 管理器
    • @MehdiDehghani:有serveral ways
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2015-08-29
    • 1970-01-01
    • 2019-04-08
    • 2019-12-16
    • 2016-12-22
    • 2013-01-29
    • 1970-01-01
    相关资源
    最近更新 更多