牙叔教程 簡(jiǎn)單易懂 報(bào)錯(cuò)如下: failed to connect to 127.0.0.1:5555 C:\Users\Administrator>adb devices List of devices attached emulator-5554 device
C:\Users\Administrator>adb connect 127.0.0.1:5555 failed to connect to 127.0.0.1:5555
C:\Users\Administrator>adb connect 127.0.0.1:5555 * daemon not running; starting now at tcp:5037 * daemon started successfully failed to connect to 127.0.0.1:5555
C:\Users\Administrator>adb connect 127.0.0.1:5555 * daemon not running; starting now at tcp:5037 * daemon started successfully failed to connect to 127.0.0.1:5555
// 此處先打開雷電 C:\Users\Administrator>adb connect 127.0.0.1:5555 adb server version (31) doesn't match this client (41); killing... * daemon started successfully failed to connect to 127.0.0.1:5555
C:\Users\Administrator> 最終解決辦法 打開雷電后, 右擊雷電圖標(biāo), 展開菜單后, 右擊菜單中的雷電圖標(biāo), 點(diǎn)擊屬性, 復(fù)制起始位置, 黏貼到文件資源管理器的地址欄, 回車 這樣就打開了雷電模擬器所在文件夾, 該文件夾下有一臺(tái)adb.exe 在地址欄中輸入cmd, 回車, 這樣就在當(dāng)前文件夾打開了cmd, 執(zhí)行以下代碼 "./adb" connect 127.0.0.1:5555成功鏈接雷電模擬器 D:\software\leiDian\LeiDian\LDPlayer4.0>"./adb" connect 127.0.0.1:5555 adb server is out of date.killing... * daemon started successfully * connected to 127.0.0.1:5555