1. Unable to identify the device
Open the adb directory in cmd (the directory seems to be in the plantfroms-tools of the sdk, where the program reports an error)
adb kill-server
and then adb start-server
2. Port Issues
1. View the PID value of port 5037.
netstat -a -n -o |findstr "5037"
output:
TCP 127.0.0.1:5037 0.0.0.0:0 LISTENING 5096
TCP 127.0.0.1:5037 127.0.0.1:51577 ESTABLISHED 5096
TCP 127.0.0.1:51577 127.0.0.1:5037 ESTABLISHED 4324
2. From the above, we know that PID = 5096 occupies port 5037. Now we can check the process name through PID to see which process occupies this port.
Output of
tasklist /v | findstr 5096 :
tadb.exe 5096 Console 1 4,932 K Unknown ...... 0:00:02 Not available From
online search, we know that tadb.exe is the process started by Tencent Manager
3. Kill the process tadb.exe occupying port 5037
taskkill /f -pid 5096
taskkill /im tadb.exe
output result
Success: The process with PID 5096 has been terminated.
3: Close eclipse and kill adb.exe in the process, then restart.
Check in Task Manager - PID - find adb.exe (5037)
4: On my broken computer, I just need to click adb.exe again.
|