adb server version (31) doesn't match this client (41); killing...

使用用 adb devices 提示以下錯誤shell

C:\Users\Lenovo>adb devices
adb server version (31) doesn't match this client (41); killing...
could not read ok from ADB Server
* failed to start daemon
adb.exe: failed to check server version: cannot connect to daemon

在這裏插入圖片描述
猜想是端口又被某些不法分子佔用了,因而執行netstat -ano | findstr " "this

C:\Users\Lenovo>netstat -ano | findstr "5037"
  TCP    127.0.0.1:5037         0.0.0.0:0              LISTENING       12428
  TCP    127.0.0.1:5037         127.0.0.1:56658        TIME_WAIT       0
  TCP    127.0.0.1:5037         127.0.0.1:56659        TIME_WAIT       0
  TCP    127.0.0.1:5037         127.0.0.1:56660        TIME_WAIT       0
  TCP    127.0.0.1:5037         127.0.0.1:56779        TIME_WAIT       0
  TCP    127.0.0.1:5037         127.0.0.1:56780        TIME_WAIT       0
  TCP    127.0.0.1:5037         127.0.0.1:56781        TIME_WAIT       0
  TCP    127.0.0.1:5037         127.0.0.1:56833        TIME_WAIT       0
  TCP    127.0.0.1:5037         127.0.0.1:56834        TIME_WAIT       0
  TCP    127.0.0.1:5037         127.0.0.1:56835        TIME_WAIT       0
  TCP    127.0.0.1:5037         127.0.0.1:56881        TIME_WAIT       0
  TCP    127.0.0.1:5037         127.0.0.1:56882        TIME_WAIT       0
  TCP    127.0.0.1:5037         127.0.0.1:56883        TIME_WAIT       0
  TCP    127.0.0.1:5037         127.0.0.1:56933        TIME_WAIT       0
  TCP    127.0.0.1:5037         127.0.0.1:56934        TIME_WAIT       0
  TCP    127.0.0.1:5037         127.0.0.1:56935        TIME_WAIT       0
  TCP    127.0.0.1:5037         127.0.0.1:57000        TIME_WAIT       0
  TCP    127.0.0.1:5037         127.0.0.1:57001        TIME_WAIT       0
  TCP    127.0.0.1:5037         127.0.0.1:57002        TIME_WAIT       0
  TCP    127.0.0.1:5037         127.0.0.1:57063        TIME_WAIT       0
  TCP    127.0.0.1:5037         127.0.0.1:57064        TIME_WAIT       0
  TCP    127.0.0.1:5037         127.0.0.1:57065        TIME_WAIT       0
  TCP    127.0.0.1:5037         127.0.0.1:57108        TIME_WAIT       0
  TCP    127.0.0.1:5037         127.0.0.1:57109        TIME_WAIT       0
  TCP    127.0.0.1:5037         127.0.0.1:57110        TIME_WAIT       0
  TCP    127.0.0.1:5037         127.0.0.1:57181        TIME_WAIT       0
  TCP    127.0.0.1:5037         127.0.0.1:57182        TIME_WAIT       0
  TCP    127.0.0.1:5037         127.0.0.1:57183        TIME_WAIT       0
  TCP    127.0.0.1:5037         127.0.0.1:57273        TIME_WAIT       0
  TCP    127.0.0.1:5037         127.0.0.1:57274        TIME_WAIT       0
  TCP    127.0.0.1:5037         127.0.0.1:57275        TIME_WAIT       0
  TCP    127.0.0.1:5037         127.0.0.1:57318        TIME_WAIT       0
  TCP    127.0.0.1:5037         127.0.0.1:57319        TIME_WAIT       0
  TCP    127.0.0.1:5037         127.0.0.1:57320        TIME_WAIT       0
  TCP    127.0.0.1:5037         127.0.0.1:57377        TIME_WAIT       0
  TCP    127.0.0.1:5037         127.0.0.1:57378        TIME_WAIT       0
  TCP    127.0.0.1:5037         127.0.0.1:57379        TIME_WAIT       0

哇塞好大一片,可是最關鍵的只有第一個,因而執行 tasklist |findstr " "spa

C:\Users\Lenovo>tasklist |findstr "12428"
360MobileLoader.exe          12428 Console                    3     24,296 K

看,猜對了,360!code

C:\Users\Lenovo>taskkill -f -t /im 360MobileLoader.exe
錯誤: 沒法終止 PID 12428 (屬於 PID 7548 子進程)的進程。
緣由: 拒絕訪問。

流氓,粗暴一點直接拔掉真機,嘿嘿,看他還佔用。在執行一次 adb devicesserver

C:\Users\Lenovo>adb devices
List of devices attached
C9K7N15722004375        device

ok 了blog

相關文章
相關標籤/搜索