装了KuGou后就出现这样:
You must restart adb and Eclipse.
Please ensure that adb is correctly located at 'D:\program\develop\eclipse\android_sdk\sdk\platform-tools\adb.exe' and can be executed.
解决方法:
1.卸载KuGou,(试过关了酷狗,重启机器后也可以),
2.改变Android端口:
-----------------------------------------------------
C:\Users>netstat -ano|findstr "5037"
TCP 127.0.0.1:5037 0.0.0.0:0 LISTENING 5636
C:\Users>tasklist|findstr "5636"
kadb.exe 5636 Console 1 6,332 K
如何改变adb的默认端口呢?
在操作系统的系统环境里面,加一个环境变量:
ANDROID_ADB_SERVER_PORT,值为9999,看自己喜欢。
然后, 重启电脑,可以鸟。
注意DOS窗口如果未关闭,要先关闭再开,否则端口还是老的。--------------------------------------------------------------------------来自:http://blog.csdn.net/leftfist/article/details/38089621
http://blog.csdn.net/mexican_ok/article/details/21824039
http://jingyan.baidu.com/article/3c48dd34491d47e10be358b8.html