Sunday, January 20, 2013

android error adb

error:

[2012-07-18 16:18:26 - ] The connection to adb is down, and a severe error has occured.
[2012-07-18 16:18:26 - ] You must restart adb and Eclipse.
[2012-07-18 16:18:26 - ] Please ensure that adb is correctly located at 'D:\java\sdk\platform-tools\adb.exe' and can be executed.




fixed:


find who used socket 5037 port:

C:\Users\liandl> netstat -aon|findstr "5037"
TCP 127.0.0.1:5037 0.0.0.0:0 LISTENING 1496





lookup 1496 is what:

C:\Users\liandl>tasklist|findstr "1496"
tadb.exe 1496 Console 1 5,380 K



kill it in taskmgr. the tadb is tencent 腾讯手机管家.


restart eclipse.

No comments: