尝试查找 VirtualBox 时 Xamarin Android 播放器错误

Xamarin Android Player Error when attempting to find VirtualBox

我全新安装了 Windows 10。安装 Visual Studio 2015 和 Xamarin Bussiness 版后,我安装了 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 中引用了一个解决方案,说明

Fixed it by adding "C:\Program Files\Oracle\VirtualBox" to my %PATH%

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

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

尝试安装最新版本的 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.

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

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

C:\Program Files\Oracle\VirtualBox\

我改成了

C:\Program Files\Oracle\VirtualBox

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

谢谢 .. Facebook 上的 Ragnar Kofi Billy Force

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

其他答案中的

None 帮助了我。 Android 播放器安装程序强制安装无法在 Windows 10 Home(内部版本 14393.51)上运行的 Virtual Box 5.0.4。

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

启动它们没有问题

只需 运行 作为管理员(右键单击桌面快捷方式)