如何使用ADB over TCP连接到Android? [英] How can I connect to Android with ADB over TCP?

查看:505
本文介绍了如何使用ADB over TCP连接到Android?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试在摩托罗拉Droid 上调试应用程序,但我有一些困难通过USB连接到设备。我的开发服务器是运行在 Hyper-V 中的Windows 7 64位虚拟机我无法通过客户端或主机中的USB直接连接。

I am attempting to debug an application on a Motorola Droid, but I am having some difficulty connecting to the device via USB. My development server is a Windows 7 64-bit VM running in Hyper-V, and so I cannot connect directly via USB in the guest or from the host.

我安装了几种不同的USB-over-TCP解决方案,但连接似乎有问题,因为反复 ADB 监控报告devicemonitor无法开始监控。有没有办法直接从开发机器上的客户端连接到设备上的守护进程,而不是使用网络而不是USB连接,或者可能还有另外一个可行的选项?

I installed a couple of different USB-over-TCP solutions, but the connection appears to have issues since the ADB monitor reports "devicemonitor failed to start monitoring" repeatedly. Is there a way to connect directly from the client on the development machine to the daemon on the device using the network instead of the USB connection or possibly another viable options?

推荐答案

我最终得到了Eltima USB以太网软件的工作,终于放弃了通过TCP直接连接设备的可能性。我几乎决定不可能通过网络连接到一个设备,只有一个模拟器。

I ended up getting the Eltima USB to Ethernet software working after finally giving up on the possibility of a direct to device connection over TCP. I have pretty much decided that it is not possible to connect to a device across the network only an emulator.

这篇关于如何使用ADB over TCP连接到Android?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆