我正在尝试让 Android Debug Bridge 通过 wifi 从我的 64 位 Windows 7 台式计算机到我的 Nexus10 工作。我通过 USB 连接设备,然后我按照“如何通过 TCP 使用 ADB 连接到 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
为了开始调试,我尝试从我的台式计算机 ping Nexus10。两台设备都连接到同一个路由器,台式计算机通过电缆连接,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),
返回“Destination host unreachable”的 IP 地址 192.168.231.61 是我的台式计算机的 IP 地址。虽然 ping 不起作用,但我不知道我无法 ping 的事实是我的 ADB 问题的根源还是与问题无关。
我正在运行 Android Debug Bridge 版本 1.0.31。任何人都可以帮忙吗?