adb server version doesn't match this client

后端 未结 30 2925
隐瞒了意图╮
隐瞒了意图╮ 2020-11-22 09:49

Whenever I try to run adb devices:

            $ adb devices
            * daemon not running. starting it now *
            * daemon started su         


        
30条回答
  •  暖寄归人
    2020-11-22 10:19

    I experienced a similar problem where my attempts to use adb such as adb logcat provided this error output:

    adb server version (40) doesn't match this client (36); killing...

    This solution worked for me in 2018 on Ubuntu 18.04 from Android Studio 3.2.1 using terminal.

    The commands are as follows:

    adb kill-server sudo cp ~/Android/Sdk/platform-tools/adb /usr/bin/adb sudo chmod +x /usr/bin/adb adb start-server

    You may need to adjust the cp command arguments based on the path to Android/ on your system.

    2nd generation kudos to my source: https://stackoverflow.com/a/40991118/7015599

提交回复
热议问题