1. 程式人生 > >adb server version (31) doesn't match this client (40); killing... could not read ok from ADB Server

adb server version (31) doesn't match this client (40); killing... could not read ok from ADB Server

這種是因為360手機助手佔用了埠好,用工作管理員殺掉就可以了

  • 首先,開啟命令列工具,檢視失敗資訊中提示的埠是否被佔用(比如我這邊提示的是5037)

    netstat -ano | findstr :5037

  • 如果埠被佔用,在任務列表中找到佔用埠的程序(可在上一步中檢視)

    tasklist | findstr processID

  • 關閉佔用這個埠的程式,然後執行命令手動啟動adb,成功

    adb start-server