获取 Visual Studio Android Lollipop 和 marshmallow 模拟器

Getting Visual Studio Android Emulator for Lollipop & marshmallow

我已经安装了 Visual studio 2015 & xamarin,我看到 visual studio 模拟器只有 kitkat,没有其​​他东西。

他们的网站声称支持棒棒糖,但我不知道如何获得它。

编辑:可能应该提到这一点,当我打开 visual studio 模拟器 window 时,我看到以下错误:

Unable to establish a connection to Internet. Only device profiles for acquired platforms are shown

In Visual Studio 2015, you can install, uninstall, and start device profiles using the Emulator Manager. Access the Emulator Manager by choosing Tools, then Visual Studio Emulator for Android.

By default, there are four pre-installed device profiles (KitKat and Lollipop phone/5" and tablet/7" configurations), as indicated by the white text and icons. Other profiles in the list will appear grayed out until you choose the Install Profile button and the installation completes. You can filter the list by API Level and click the details arrow on the bottom right-hand side of a profile to view its full configuration details.

Once you've installed the set of profiles that you'd like to target, you can start these new profiles directly from the manager by pressing the green Play button. They will also appear in the debug target dropdown menu in any Visual Studio cross-platform mobile project type.

参考:MSDN

我修复了它,我安装的一个 spybot 工具禁用了一些 windows 10 个东西阻止了这个工具所需的东西,解除了它,它现在可以工作了。