之前hdc是可以usb调试的,但是想尝试一下hdc,结果ip没通,改错了。
随后任何连接都无法实现了,我该如何切换到usb模式?尝试过下面几条命令都没有结果(现在ip是通的):
❯ ./hdc -v
Ver: 3.1.0a
❯ ./hdc tmode usb
[Fail]ExecuteCommand need connect-key?
❯ ./hdc list targets
[Empty]
❯ ./hdc tmode port 666
[Fail]ExecuteCommand need connect-key?
❯ ./hdc tconn 192.168.230.23:6666
[Fail]Connect failed
❯ ping 192.168.230.23
PING 192.168.230.23 (192.168.230.23) 56(84) bytes of data.
64 bytes from 192.168.230.23: icmp_seq=1 ttl=64 time=0.849 ms
64 bytes from 192.168.230.23: icmp_seq=2 ttl=64 time=0.767 ms
^C
--- 192.168.230.23 ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 1035ms
rtt min/avg/max/mdev = 0.767/0.808/0.849/0.041 ms |