【问题标题】:Visual Studio Xamarin no longer displaying Android Emulators or phones to deploy tooVisual Studio Xamarin 不再显示要部署的 Android 模拟器或手机
【发布时间】:2018-07-03 23:18:12
【问题描述】:

我在 Visual Studio 上使用 Xamarin 来创建几个不同的 Android 应用程序。突然之间(在为我的新手机安装驱动程序后 - OneP;us 5t)我的视觉工作室已停止允许我部署到手机或模拟器。

在它说“开始”之前,它会是我想要部署它的所有设备的下拉列表,但它不会再显示它们了。我没有更改任何设置或更改任何内容。我还创建了一个 AVD,还插入了一个 android 手机,它也无法识别。

知道是什么原因造成的以及如何解决吗?

PS,我使用的是 Visual Studio 2017。

【问题讨论】:

  • 你试过重启adb吗? (Andriod 调试桥)检查一下:stackoverflow.com/questions/29826101/…
  • @maplemale 没有解决任何问题,谢谢!
  • 当你选择多个startprojects时,该选项消失了,但最后一个目标被记住并使用。

标签: c# android visual-studio xamarin visual-studio-2017


【解决方案1】:

您需要将您的 Android SDK Tools 升级到 v26+ 并使用新工具创建虚拟设备。

https://developer.xamarin.com/guides/android/getting_started/installation/android-emulator/xamarin-device-manager/

您使用的模拟器管理器工具已被 Google 弃用,因此不会出现在 Visual Studio 中。

【讨论】:

    猜你喜欢
    • 2015-12-31
    • 2020-12-27
    • 1970-01-01
    • 2021-06-18
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2015-10-03
    相关资源
    最近更新 更多