赞
踩
使用华为 mate40 手机在家调试,通过手机 IP 连接进行网络 adb 连接时,终端一直提示 failed to connect to '192.168.210.173:5566': Connection refused。
1、重启手机、在网上搜索发现很多教程说是要使用setprop service.adb.tcp.port 5555,但我执行该命令一直提示:Failed to set property 'service.adb.tcp.port' to '5555'(未解决).
2、执行setprop service.adb.tcp.port 5555后执行 stop adbd、start adbd(未解决)
1、 手机和电脑连接 adb 线并打开USB调试模式,在终端执行 adb tcpip 5555
2、 断开 adb 线,重新打开手机的USB调试模式
3、 adb connect 手机Wi-Fi ip:5555,成功时会提示 connected to 192.168.210.173:5555
4、 adb shell,至此问题得到完美解决
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。