2

我下载并安装了新版本的 VS 预览版退出。

我想试用新的 Android 模拟器并创建了一个新的 Cordova 项目。我期待此屏幕截图中列出了类似的选择: 在此处输入图像描述

然而,我只看到了前五个(设备、Android Emulator、Ripple ...),但缺少 VS Emulator Android Phone 和 VS Emulator Android Tablet。

如果我尝试使用选项“Android Emulator”运行应用程序,我会在输出控制台中收到以下错误:

2>    WARNING : no emulator specified, defaulting to MonoForAndroid_API_10
2>  Waiting for emulator...
2>  emulator: ERROR: This AVD's configuration is missing a kernel file!!

Android Emulator 应该包含在 VS 2015 Preview 版本中,还是我必须安装其他东西?

4

1 回答 1

4

Microsoft Visual Studio Emulator for Android 由安装 Microsoft Visual Studio 2015 Preview 后应弹出的辅助安装程序安装。该列表中应该有一个需要检查的项目。

如果您可以在添加/删除程序中验证“Microsoft Visual Studio Emulator for Android”已安装并且您正在运行 Windows 8/8.1 Pro 64 位或更高版本,我们将不胜感激。Microsoft Visual Studio Emulator for Android 需要在计算机上安装 Hyper-V。

从您提供的错误来看,您的 Android SDK 安装中可能缺少某些项目。请转到 C:\Program Files (x86)\Android\android-sdk 并以管理员身份运行 SDK Manager.exe 并确保在 Android 4.4.2 (API 19) 下,ARM EABI v7a 系统映像和 Intel x86 Atom安装了系统映像以及 SDK 平台。这些对于默认的 Google Emulator 是必需的

谢谢

——皮尔森

于 2014-11-13T22:03:03.363 回答