版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/cui130/article/details/81071238
首先保证手机和电脑在同一局域网内,连接步骤:
1.下方terminal工具中输入 adb devices回车:(连接数据线状态)
D:\work\IntelligentBpHome>adb devices
List of devices attached
LZ6HG6T8DAEYS469 device
2.D:\work\IntelligentBpHome>adb tcpip 5555(连接数据线状态)
restarting in TCP mode port: 5555
3:.D:\work\IntelligentBpHome>adb connect 172.27.35.3:5555(拔掉数据线连接状态)
connected to 172.27.35.3:5555
最后显示connected to 172.27.35.3:5555即连接成功。