Windows 10 Home上是否有针对Visual Studio的替代Android模拟器

时间:2015-10-06 07:56:46

标签: android visual-studio visual-studio-2015

当使用Visual Studio 2015为Android开发c ++时,模拟器仅在运行Pro版本的Windows时才有效,对于那些使用Visual Studio社区的人来说,他们可能也在Windows的Home版本(如我)上运行模拟器不行。

是否有可以与VS调试器集成的替代方案?

***编辑 我一直在看这个列表Android emulators虽然这似乎是针对Android上的Android游戏,而不是App开发。所以有人想知道是否有人设法将其中一个与Visual Studio集成在一起?

2 个答案:

答案 0 :(得分:3)

Both the below options come with the caveat that I have not used either.

Xamarin Android Player

Apparently Xamarin had issues with the default Android Emulator. Primarily that it was slow, and clunky, and they were getting a lot of complaints about it from Xamarin users (despite it not being their product/fault).

They decided to create their own emulator to get around this, and it can be found here.

It should be noted that (at time of writing) this is still in Preview by the looks of things. So bugs may be present.

From what I can see on the download page, it doesn't appear like you need Xamarin to actually use it. In any case, it's worth a shot.

GenyMotion

Another option is GenyMotion. There is a free version for personal use only (with limited functionality), or a paid option that provides more capability.

答案 1 :(得分:0)

Android播放器链接已更改为:https://developer.xamarin.com/releases/android/android-player/

即使在重新启动主机后,我也无法启动Android VM。安卓播放器安装的Windows 10 Home和Virtualbox 5.0.4之间似乎存在一些不兼容性。安装Android播放器后安装Virtuallbox 5.1.2似乎解决了这个问题。

编辑:我还没有机会测试与Visual Studio的集成。

在Visual Studio中,所有内容似乎都按预期工作。我在Android Player中创建的两个VM设备都可以在运行菜单的下拉列表中看到。当我调试默认的空白android应用程序时,Visual Studio将启动所选的VM。

唯一的打嗝是Visual Studio在尝试部署应用程序之前没有等待模拟器启动的时间。所以我必须重新开始运行或者记得在调试之前从Android Player启动VM。