最近升级AS后——4/2号,adb连接手机的时候一直报错,AS版本如下:
一般adb连接流程:
adb tcpip 5555
adb connect 手机ip
但是在升级后端口好像变了:5037
可以试下换端口:
adb connect ip:5555
adb connect ip:5037
相关链接:https://stackoverflow.com/questions/55158265/adb-missing-port-in-specification
解决办法:
adb devices
adb -s xxxxx tcpip 5554
adb connect ip:5554
大概就是以上了,具体操作如下图: