調試錯誤

Unable to create Debug Bridge: Unable to start adb server: adb server version (31) doesn't match this client (39); killing...
could not read ok from ADB Server
* failed to start daemon
error: cannot connect to daemon
'C:\download\soft\Android\android-sdk-windows\platform-tools\adb.exe start-server' failed -- run manually if necessaryandroid

 

 

解決辦法:windows

查找被佔用的端口:netstat -aon|findstr "5037" this

netstat -aon|findstr "5037"
  TCP    127.0.0.1:5037         0.0.0.0:0              LISTENING       1548
  TCP    127.0.0.1:5037         127.0.0.1:59769        ESTABLISHED     1548
  TCP    127.0.0.1:59769        127.0.0.1:5037         ESTABLISHED     9904orm

 

進入1548查看是哪一個應用:tasklist|findstr "1548"server

找到以後殺死進程,進而解決問題。進程

相關文章
相關標籤/搜索