ADB Not Responding - Android Studio
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 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.
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, 2022Comments
-
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:
So then I went to my windows firewall settings. Here is what I have:
As you can see, Firewall is off. Then, I went to my antivirus security program and turned the settings off there:
As you can see here too, I disabled Smart Firewall. Then, I opened Android Studio again. I got the same error here too.
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.
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.
- In cmd,
-
Rohodude over 10 yearsFor some reason, this is not solving the problem. But thank you for the suggestion.
-
Rohodude almost 10 yearsThanks 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 about 9 yearsIt Worked for me, close IDE, kill adb.exe, unplug the phone and start IDE