adb devices return error: protocol fault (no status)

前端 未结 4 818
[愿得一人]
[愿得一人] 2021-02-19 04:53

My ADB stopped working recently. All commands results in error: protocol fault (no status).

Follow trace.

adb devices

system/core/adb/adb.c::main         


        
相关标签:
4条回答
  • 2021-02-19 05:12

    I had this problem on linux. I didn't realize I had an old adb on my path. Make sure that

    which adb
    

    and

    which emulator
    

    point to similar android sdk versions.

    0 讨论(0)
  • 2021-02-19 05:16

    I had the same issue and found the problem: Android Studio.

    Open the Android Studio menu Tools -> Android and uncheck Enable ADB integration.

    adb devices should work (you might need adb kill-server first).

    Then you can re-enable ADB integration in Studio.

    0 讨论(0)
  • 2021-02-19 05:21

    This typically means, that your ADB service or your driver is outdated.
    Since the drivers aren't updated most of the time, make sure you've installed the latest version of your Android SDK Platform-tools via the SDK Manager: enter image description here

    0 讨论(0)
  • 2021-02-19 05:23

    I recently got the same error, after installing a driver for the Moto X. I previously had the ADB and Fastboot quick install. I installed the driver, saw that the Moto X still wasn't registered, so uninstalled the driver again. Ten I got this error message. I opened Task Manager, killed the ADB.exe and then in Bash hit the adb device command. All was good again.

    0 讨论(0)
提交回复
热议问题