综合      adb.exe: failed to check server version: cannot connect to daemon   

如果电脑上安装了360,当使用Android sdk 的adb指令时,可能会:
> adb devices
adb server version (19043) doesn't match this client (41); killing...
could not read ok from ADB Server
* failed to start daemon
adb.exe: failed to check server version: cannot connect to daemon


首先,查看5037端口是否被占用,如下,7296这个task占用了。
> netstat -ano|findstr 5037
TCP    127.0.0.1:5037    0.0.0.0:0                LISTENING    7296
TCP    127.0.0.1:5037    127.0.0.1:52252    TIME_WAIT    0
TCP    127.0.0.1:5037    127.0.0.1:52259    TIME_WAIT    0
TCP    127.0.0.1:5037    127.0.0.1:52266    TIME_WAIT    0
TCP    127.0.0.1:5037    127.0.0.1:52273    TIME_WAIT    0


然后,查看谁启动了这个task,如下,正是360的手机助手。
> tasklist |findstr 7296
360MobileSrv.exe    7296    Console    1    29,316 K


这个程序的路径是 %360Safe安装路径%\mobilemgr\360MobileSrv.exe
最后,以子之矛,攻子之盾。360卫士,功能大全,任务管理器,找到关闭。
最最后,把mobilemgr的文件,使用“360强力删除”、“防止恢复”,删掉。据实操,重启后这个目录会重建并重启360MobileSrv。LiuMang...


- end

承接App定制、企业web站点、办公系统软件 设计开发,外包项目,毕设