【发布时间】:2016-02-08 20:06:19
【问题描述】:
我想为 android 制作游戏,但我不想用 java 编程。
Visual Studio 支持 C++ 中的 Android 应用程序,当我启动/调试应用程序时,它会说:
Severity Code Description Project File Line
Error Error installing the package. The device '' is invalid or not running. Please switch to another device, or use the Android Virtual Device (AVD) Manager to start a compatible emulator, or connect a compatible Android device. Android1_test.Packaging 0
我已经安装了 xamarin 模拟器,但我无法调试我的项目,而且我没有安装“Microsoft Visual Studio Emulator for Android”,当我尝试安装它时,我收到错误“安装程序被阻止”和这个:
This computer does not support the Visual Studio Emulator for Android, which requires a 64-bit Windows 8/8.1/10 Pro/Enterprise edition or Window Server 2012 or above and a computer that supports Hyper-V. For more information, see System Requirements for Visual Studio Emulator for Android (https://msdn.microsoft.com/en-us/library/mt228280.aspx).
我需要安装“Hyper-V server 2012...”之类的吗?
编辑:我有 Windows 10 Home,它不支持 Hyper-V。谢谢微软(Windows 10 Pro ($129.99) 支持 Hyper-V)
【问题讨论】:
-
仔细看:“需要 64 位 Windows 8/8.1/10 Pro/Enterprise 版或 Window Server 2012 或更高版本”、“以及支持 Hyper-V 的计算机”
-
您使用的是什么版本的 Windows?错误消息特别提到 64 位 和 Windows 8 Pro/Enterprise 或更新版本。
-
我有 Windows 10 Home 64 位,你能给我 Hyper-V 的链接吗?
-
点击错误消息中的链接。它列出了要求。
标签: c++ visual-studio android-emulator