首先要保证手机和电脑在一个局域网上
然后查看手机的ip,通过wifi网络详情查看ip:10.10.200.39
然后在电脑终端
adb tcpip 8888(这个数随便定义)
然后在adb connect 10.10.200.39:8888
提示connected证明成功
fuying@zhy:~/8.0/8953_3010009$ adb tcpip 8888
restarting in TCP mode port: 8888
fuying@zhy:~/8.0/8953_3010009$ adb connect 10.10.200.39:8888
connected to 10.10.200.39:8888