【问题标题】:Xamarin Android Player Error when attempting to find VirtualBox尝试查找 VirtualBox 时出现 Xamarin Android Player 错误
【发布时间】:2015-09-19 22:15:17
【问题描述】:

我全新安装了 Windows 10。安装 Visual Studio 2015 和 Xamarin Business Edition 后,我安装了 Xamarin Android Player x64,现在我收到以下错误:

Error when attempting to find VirtualBox please check it's installed and try again.
Xamarin Android Player will now exit.

Xamarin fourms 声明中引用了一个解决方案

通过将“C:\Program Files\Oracle\VirtualBox”添加到我的 %PATH% 来修复它

我可以毫无问题地打开 VirtualBox 4.3.28 r 100309。

如何实施此解决方案或是否有更新的解决方案?

【问题讨论】:

  • 对我来说,我必须重新启动我的电脑。我安装了版本 5.04 并得到了同样的错误。但重启解决了它。

标签: xamarin xamarin.android virtualbox windows-10 xamarin-android-player


【解决方案1】:

我正在运行Windows 10 Professional 并进行了全新安装。有同样的问题。我打开环境变量,"VBOX_MSI_INSTALL_PATH" 设置为:

C:\Program Files\Oracle\VirtualBox\

我改成

C:\Program Files\Oracle\VirtualBox

它对我有用.. (注意最后一个反斜杠)

谢谢 .. facebook 上的 Ragnar Kofi Billy Force

【讨论】:

  • 我还更改了系统环境变量并删除了 {\} 及其对我的工作。谢谢...
【解决方案2】:

尝试安装最新版本的 Virtual Box,因为 v5.0 已修复 Windows 10 http://download.virtualbox.org/virtualbox/5.0.4/VirtualBox-5.0.4-102546-Win.exe

更新日志:https://www.virtualbox.org/wiki/Changelog

Windows hosts: fixed crash when opening Windows dialogs from the VM process on Windows 10 (bug #14351).
Windows hosts: fixed host-only adapter creation issues on Windows 10 (bug #14040)
Windows hosts: fixed audio on Windows 10 (bug #14432).
Windows Additions: fixed a potential crash in the WDDM driver with Windows 10 (bug #14190).
VRDP: allow Windows 10 RDP clients (bug #14216).
Windows hosts: fix for Windows 10 build 10525 and later (bug #14502).
Windows hosts: fixed network adapter enumeration on Windows 10 (bug #14437).
VMM: fixed an issue with Windows 10 guest kernel debugging over the network for Hyper-V paravirtualized VMs.

我也有同样的问题,安装最新版本已经解决了

【讨论】:

    【解决方案3】:

    将 VirtualBox 添加到您的系统环境 PATH 变量中。

    【讨论】:

      【解决方案4】:

      其他答案都没有帮助我。 Android Player 安装程序强制安装无法在 Windows 10 Home(内部版本 14393.51)上运行的 Virtual Box 5.0.4。

      对我有用的是在安装 Android 播放器后安装最新的虚拟盒(版本 5.1.2 r108956)。虽然我无法从 Virtual Box 的管理器中启动 android 设备,但从 Android Player 或 Visual Studio 启动它们没有问题。

      【讨论】:

        【解决方案5】:

        以管理员身份运行(右键单击桌面快捷方式)

        【讨论】:

          猜你喜欢
          • 1970-01-01
          • 2023-02-09
          • 2021-07-01
          • 1970-01-01
          • 1970-01-01
          • 1970-01-01
          • 1970-01-01
          • 2018-05-28
          • 2015-12-28
          相关资源
          最近更新 更多