adb connect 失败时(unable to connect to)解决办法

使用ADB连接Android客户端时,连接失败

D:\andriod\platform-tools>adb connect 192.168.102.118
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
unable to connect to 192.168.102.118:5555


可在Android客户端上,打开终端模拟器,输入:

setprop service.adb.tcp.port 5555

stop adbd

start adbd


再进行连接,并查看:

D:\andriod\platform-tools>adb connect 192.168.102.118
connected to 192.168.102.118:5555

你可能感兴趣的:(Android开发环境搭建)