简体   繁体   English

带有Xamarin的Visual Studio 2015-设备未在VS上显示

[英]Visual Studio 2015 with Xamarin - Device is not shown on VS

I have Visual Studio 2015 Community Edition with Xamarin inside Windows 7 Virtual Machine . 我在Windows 7虚拟机中 具有带有Xamarin的Visual Studio 2015社区版 I have my android device connected to the physical machine and Yes the android phone is recognized in the Virtual Machine, since it's shown in the My Computer of Virtual Machine, and also displayed in Other devices under Device Manager . 我已将我的android设备连接到物理机,是的,因为在“虚拟机的我的电脑”中显示了它,并且在“ 设备管理器”下的“其他设备”中也显示了它,所以在虚拟机中可以识别android手机。

When I created Cross-Platform Blank App (Native Portable) project in VS2015 and Set App.Droid as startup Project, I can't see my phone. 当我在VS2015和设置App.Droid创建跨平台的空白应用(本机Portable)的项目为启动项目,我看不到我的电话。 What am I missing? 我想念什么?

  1. Check unsupported devices under list of devices to run (or it is just Start button if you don't have any devices). 在要运行的设备列表下检查不受支持的设备(如果没有任何设备,则只是“开始”按钮)。 If your phone is there that means your project has higher API level as Minimum target than the phone's API. 如果您的手机在那里,则意味着您的项目具有比手机API更高的API级别作为最低目标。 If phone is not even in that list then 如果电话不在该列表中,则
  2. Check on the phone if Developer mode is enabled and inside you have 在电话上检查是否启用了开发人员模式,并且在手机内部
    • USB debugging enabled 启用USB调试
    • Stay awake 保持清醒
    • (Optionally) Allow mock locations (可选)允许模拟位置

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

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