【发布时间】:2025-12-17 04:25:02
【问题描述】:
我的设置:
我有带有 android 工具的 mac。还有一个 Windows 虚拟机 - 不幸的是 can't run android directly。所以我按照本指南连接了它们:https://docs.microsoft.com/en-us/xamarin/android/troubleshooting/questions/connect-android-emulator-mac-windows,它们在同一个 vpn 上。
我可以看到模拟器在我的 mac 上启动并从 windows 机器上成功运行我的 xamarin 应用程序:
但是,当将 android 设备连接到 mac 时,它不会出现在 windows 机器上的 Visual Studio 中。在我的 Mac 上运行 adb devices 会显示:
而且我可以从我在我的 mac 上安装的其他框架成功地在其上运行应用程序。
有什么方法可以让 Visual Studio 通过 adb 服务器找到 android 设备?
【问题讨论】:
标签: visual-studio azure xamarin android-emulator adb