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

I am a newbie and want to learn android. However, I face difficulties during installation of android studio.

I have installed android studio correctly but when I want to run a Hello World in my android device, it shows

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

I have searched it from the Internet but it still cannot solve the problem, what can I do to solve it?


I've found the answer to this. This had been plaguing me for days, but so happy to have this fixed.

When I go to task manager the process adb.exe was constantly restarting itself. This is what was causing the issue (for me).

Go to Tools -> Android -> Enable ADB entegration. Untick this. Make sure its status appears as unticked. Now go to task manager and killed the process adb.exe, it will not restart itself this time. Now click run, hey presto, ADB runs. Whoop de doo.

Here is what worked for me on Ubuntu: I simply removed the file /tmp/adb.log

sudo rm /tmp/adb.log

Hope it helped. Cheers.

You should first try stopping adb and then restarting it.

Use this command:

adb kill-server

followed by:

adb start-server

On Mac OSX: If the adb process needs to be killed, you can use ps to show all processes with the following command, (pipe through grep to find it easier)

ps aux | grep adb

You can kill it with the following command, using the process id of adb from the previous ps command.

kill -9 <process id>

you need . Url for it from google's repository is:

Go into your android-sdk-linux directory, I deleted the platform-tools directory (but I think that's unnecessary) and unzip'ed the platform-tools zip there. The SDK updater correctly shows 23.0.1 is installed at this point.

all will work properly

one can find detailed discussion about this issue here

I had the problem because the project was not built and showed an error as follows

Error:Error: Cannot run program "/path/to/Android/Sdk/build-tools/21.1.2/aapt": error=2, No such file or directory

I solved the problem by running those commands

sudo apt-get install lib32stdc++6 sudo apt-get install lib32z1

Ubuntu can't run the aapt on 64 bit before installing this packages

Thanks to

I solve the problem.Open cmd and input netstat -aon|findstr 5037 .if there is a process uses the port.You should kill it.You can get the pid and find the process in Task Manager.

I Battled with this problem for a couple of days (nearly drove me nuts) and every solution I found failed to help me. Till I tried this:

(On Mac)

I uninstalled Android Studio (moved it from Applications to Trash).

Restarted my Mac.

Reinstalled Android Studio (moved it back from Trash to Applications).

And everything was back to normal.

I didn't find adb.exe in the task manager so i did the following and it worked fine after that

  1. I closed the emulator and removed my phone.
  2. restart the windows.
  3. connect the usb device and then i run the application.

Go to Tools -> Android -> Enable ADB entegration untick it and press run ( you will get an error) now re-tick it and press run and it will works.

Open "Android Monitor" window at the bottom of Android Studio, there will be some error info of the problem.

And my problem hint is "no permission to access /tmp/adb.1001.log".

Just remove the file, the problem will been resolved.

Need Your Help

Where does `ng serve` output files to?


ng serve is not building to the path that I have set in my angular-cli.json in apps[0].outDir.

How to include null value in the JSON via NSJSONSerialization?

objective-c ios json null nsjsonserialization

I think I get it how to use the NSJSONSerialization over all. The call I am making is: