eclipse连接真机,一天不关机之后,再想运行程序,device里面看不到真机信息,console报错:
[2014-01-06 00:51:12 - adb] ADB server didn't ACK
[2014-01-06 00:51:12 - adb] * failed to start daemon *
解决办法就是,进入终端,ps -ef|grep adb ,把对应的进程先杀掉,然后重启eclipse就ok了!
sh-3.2# ps -ef |grep adb
501 7964 1 0 六11上午 ?? 761:49.90 adb -P 5037 fork-server server
0 40064 40051 0 12:53上午 ttys001 0:00.00 grep adb
sh-3.2# kill 7964
sh-3.2# ps -ef |grep adb
0 40066 40051 0 12:53上午 ttys001 0:00.00 grep adb