我正在尝试让我的64位Windows 7台式计算机通过wifi与我的Nexus10连接Android Debug Bridge。我通过USB连接设备,然后按照"如何使用ADB通过TCP连接Android?"进行操作,但最终提示无法连接的错误信息。
C:\adt-bundle\sdk\platform-tools>adb usb
restarting in USB mode
C:\adt-bundle\sdk\platform-tools>adb devices -l
List of devices attached
R32D300NXJV device product:mantaray model:Nexus_10 device:manta
C:\adt-bundle\sdk\platform-tools>adb tcpip 5555
restarting in TCP mode port: 5555
C:\adt-bundle\sdk\platform-tools>adb connect 192.168.231.2
unable to connect to 192.168.231.2:5555
为了开始调试,我尝试从我的台式电脑对Nexus10进行ping测试。两个设备都连接到同一个路由器,桌面电脑使用网络线连接,而Nexus10则是无线连接。然而,我收到了以下错误信息:
C:\adt-bundle\sdk\platform-tools>ping 192.168.231.2
Pinging 192.168.231.2 with 32 bytes of data:
Reply from 192.168.231.61: Destination host unreachable.
Reply from 192.168.231.61: Destination host unreachable.
Reply from 192.168.231.61: Destination host unreachable.
Reply from 192.168.231.61: Destination host unreachable.
Ping statistics for 192.168.231.2:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
返回“目标主机不可达”的IP地址192.168.231.61是我的台式电脑的IP地址。虽然ping命令无法使用,但我不知道我不能ping通是否是ADB问题的根源,或者它与此问题无关。
我正在运行Android Debug Bridge版本1.0.31。有人能帮忙吗?