adb shell
时出现以下信息:
* daemon not running. starting it now on port
5037 *
ADB server didn't ACK
* failed to start daemon *
error: cannot connect to daemon
ADB SERVER的端口被占用
1、执行下面命令:adb nodaemon server
会出现 cannot
bind 'tcp:5037'
2、输入下面的命令:netstat -ano | findstr
"5037" 可以查询什么占用了5037端口,再通过
taskkill
/f /pid xxxx 把占用5037端口的进程给Kill掉就好,在运行一次netstat
-ano | findstr "5037"
此方法已经通过使用可以成功解决问题。
另有方法: 在cmd中进入platform-tool路径下
输入 adb kill-server 这是adb就开始重新启动了在Eclipse的control 界面可以看到 attempt
connection.....1..2...3.........11就可以了
还没有使用过待学习!!!
|