如何将ADB连接到远程Windows服务器
我在远程桌面上进行开发,但我的 Android 设备已连接到我的本地笔记本电脑。我希望能够在远程桌面上的 vscode 中使用 ADB 设备并连接到连接到我的笔记本电脑的设备。 我能知道我该怎么做吗?
I work on a remote desktop for development but my android device is connected to my local laptop. I wanted to be able to use ADB device in vscode on the remote desktop and connect to the device attached to my laptop.
Can i know how could I do that?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
如果它们都连接到同一个 wifi,我认为您可以使用台式机或笔记本电脑运行您的应用程序。使用 ADB,但首先启用 ### USB 调试 ### 和 ### 无线调试 ### 第二步连接您想要连接物理手机的物理手机,例如您想要使用笔记本电脑运行应用程序 连接您的手机使用 USB 连接器连接到笔记本电脑,请按照此处的命令 https://www.guru99.com/adb -connect.html 之后你不再需要连接USB线。希望我有帮助
if they both connected to the same wifi, I think you can run your app using your desktop or laptop. use ADB but first enable ### usb debug ### and ### wireless debug ### second connect your physical phone where you want to connect your physical phone to for example you want to run the app using your laptop connect your phone to the laptop using usb connector, follow the command here https://www.guru99.com/adb-connect.html after that you no longer need to connect the usb wire. hope I helped