简体   繁体   English

Visual Studio 2015 CTP 6 Android模拟器无效设备

[英]Visual Studio 2015 CTP 6 android emulator invalid device

The android emulator in Visual Studio 2015 CTP 6 will not start. Visual Studio 2015 CTP 6中的android仿真器将无法启动。 If I try to start a debug session with any native android c++ project on any android emulator (KitKat or Lollipop, phone or tablet) I'll get the error message: 如果我尝试在任何android模拟器(KitKat或Lollipop,手机或平板电脑)上与任何本机android c ++项目启动调试会话,则会收到错误消息:

"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."

I repaired and reinstalled Visual Studio and the Visual Studio android emulator already several times. 我已经修复并重新安装了Visual Studio和Visual Studio android模拟器几次。

You should be seeing a Hyper-V entry for the emulator. 您应该看到仿真器的Hyper-V条目。

It looks like you're using the CTP6 version of the Visual Studio Emulator for Android (which has support for KitKat and Lollipop). 看起来您正在使用CTP6版本的Visual Studio Emulator for Android(具有对KitKat和Lollipop的支持)。

The CTP6 version of the emulator requires the matching CTP6 version of Visual Studio 2015. The first thing to try is to install the CTP6 version of Visual Studio here: http://www.visualstudio.com/en-us/downloads/visual-studio-2015-ctp-vs.aspx 模拟器的CTP6版本需要Visual Studio 2015的匹配CTP6版本。首先要尝试的是在此处安装Visual Studio的CTP6版本: http : //www.visualstudio.com/zh-cn/downloads/visual- studio-2015-ctp-vs.aspx

After installing VS CTP6, confirm that the version number of the emulator is still 1.0.50219.2 in Add Remove Programs (Control Panel). 安装VS CTP6后,请在“添加删除程序”(“控制面板”)中确认仿真器的版本号仍为1.0.50219.2。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM