ADB Not Responding - Android Studio

14,573

Solution 1

Sometimes it just gets into a mess. Close your ide then Go to processes and terminate all adb processes.

Then when you open up android studio it should kick off adb again fresh (or you could run something like 'adb devices' from command prompt before opening the ide if you're worried it gets in to a bad state while the ide is waiting for it to initialize)

If none of that works you could also reboot your device. I've very rarely found it necessary, but it has helped me in the past

Solution 2

Kill processes bas_deamon & bas_helper

Kill processes bas_deamon & bas_helper Then press restart for ADB and it will work.... this what I do in WIndows 7 when I face this issue.

Solution 3

You may want to make sure your phone is unplugged. When it is plugged in, I have noticed this happening and the solution for me (which may be Mac specific) is to unplug my phone from the computer.

Solution 4

I had the same error messages, but a different problem. Port 5037 was not in use, but still adb couldn't start.

So after hours of trying I finally realized, that it was an installed VPN-client (Checkpoint Endpoint Security). Even though there was no connection (and I even killed the process) the connection didn't work. After uninstalling everything worked like a charm.

Maybe it helps someone who reads this question, because everywhere else you just read about the blocking port. And in addition, while the client was installed some other TCP-based Frameworks and even Windows-Remotedesktop stopped working too.

Share:
14,573
Rohodude
Author by

Rohodude

Hey guys, I'm a 14 year old Android developer. I created two apps, DietWatcher and Compass Free. Would 'ppreciate it if you could check it out.

Updated on June 19, 2022

Comments

  • Rohodude
    Rohodude almost 2 years

    Don't mark this as a duplicate. Let me explain what's wrong and tell you what I've done. So here's my problem. When I open Android Studio, it gives me an error like so:

    TCP/IP

    So then I went to my windows firewall settings. Here is what I have:

    Windows Firewall

    As you can see, Firewall is off. Then, I went to my antivirus security program and turned the settings off there:

    Norton Firewall

    As you can see here too, I disabled Smart Firewall. Then, I opened Android Studio again. I got the same error here too.

    TCP/IP

    I pressed the OK button and moved on. Then, Android Studio loaded up and everything. After that, ADB started loading. This is where the real error occurs.

    ADB Error

    I have also tried it with Eclipse, but it also says ADB not responding. For the past month or so, Android Studio has been working fine. I have never gotten these error or warning messages with Android Studio before, so this is rather new to me.

    Here is what I have tried:

    • In cmd, adb kill-server then I pressed the restart button on the ADB not responding message
    • Restarting computer
    • Turning USB Debugging on and off on my Nexus 5

    So, I really can't find a solution to this. Any help regarding this problem would be extremely appreciated.

  • Rohodude
    Rohodude over 10 years
    For some reason, this is not solving the problem. But thank you for the suggestion.
  • Rohodude
    Rohodude almost 10 years
    Thanks for your suggestion. I figured out the problem months ago and I realized that adware was plaguing my computer. I removed the adware and everything began working normally again.
  • mrbm
    mrbm about 9 years
    It Worked for me, close IDE, kill adb.exe, unplug the phone and start IDE