Android Studio - ADB start server fails, adbkey check fails

前端 未结 5 1909
既然无缘
既然无缘 2020-12-02 21:43

Problem: adb start-server fails.

--- adb starting (pid 1414) ---
adb I 12-05 17:28:30  1414 48453 main.cpp:57] Android Debug Bridge version          


        
5条回答
  •  被撕碎了的回忆
    2020-12-02 22:41

    It is a bug with the latest version of the platform tools (27.0.0), the solution I found was to downgrade to the previous version.

    Remove the current platform-tools directory located in the android-sdk directory, then download the older version from here:

    • Mac: platform-tools_r26.0.2-darwin.zip

    [Update]: Some users (myself included) have noticed that the issue only happens when your phone is plugged in, so if you don't need to test on it, try to unplug it and use an emulator. Also worths noticing that all reported devices were from the Google Pixel line, so other devices might not cause the issue.

    [Update 2]: This seems to be solved in the latest update of the platform-tools (27.0.1).

提交回复
热议问题