安卓开发时,在windows 的cmd 命令中使用 adb 命令时,经常会碰到 下图的的情况
adb shell时出现以下信息:
* daemon not running. starting it now on port5037 *

解决方法:
输入下面的命令:netstat -ano | findstr"5037" 可以查询什么占用了5037端口,再通过 taskkill/f
/pid xxxx 把占用5037端口的进程给Kill掉就好,在运行一次netstat-ano | findstr "5037"


上面方法已经通过使用可以成功解决问题。
另有方法: 在cmd中进入platform-tool路径下输入 adb kill-server 这是adb就开始重新启动了在Eclipse的control 界面可以看到 attemptconnection.....1..2...3.........11就可以了
daemon not running.starting it now on port 5037 *
原文:http://blog.csdn.net/u013394527/article/details/41786535