Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

ADB Not Responding - Android Studio

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.

like image 923
Rohodude Avatar asked Jan 11 '23 09:01

Rohodude


2 Answers

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

like image 197
Nick Cardoso Avatar answered Jan 13 '23 21:01

Nick Cardoso


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.

like image 28
M.Hefny Avatar answered Jan 13 '23 21:01

M.Hefny