Android Studio ADB error

10,223

Solution 1

Close Android Studio and kill all processes using port 5037

  1. sudo lsof -i | grep 5037
  2. sudo kill [PID_NUMBER]
  3. open Android Studio

Solution 2

I had same problem while configuring Android Studio. I tried following command in terminal.

sudo apt-get install lib32z1 lib32ncurses5 lib32bz2-1.0 lib32stdc++6

If that doesn't helps make sure that "adb" in "AndroidStudioSdk/platform-tools/" folder is executable. If its executables permission are not set than set it with following command.

chmod uog+x abd

Hopes this will help.

Share:
10,223

Related videos on Youtube

GoProCameraByGoPro
Author by

GoProCameraByGoPro

Updated on September 18, 2022

Comments

  • GoProCameraByGoPro
    GoProCameraByGoPro almost 2 years

    I keep getting this error when I start Android Studio. I am running Ubuntu, I did a fresh install and this happened upon start up.

    ADB not responding. If you'd like to retry, then please manually kill "adb" and click 'Restart'

    I have tried this solution.

    I tried making an AVD, and it doesn't want to run on there. I double checked that ADB is added to my PATH.

    Is there more information I can provide? Any response with information or questions is helpful.

    • Abhishek pratap singh
      Abhishek pratap singh over 8 years
      Nothing worked for me until at last this solved the problem The idea is: perhaps you are using a 32bit OS and platform-tools has updated to 23.1. The solution thenis to go back to platform-tools 23.0.1.