简体   繁体   中英

Android Studio, on Windows: ADB not responding. If you'd like to retry, then please manually kill “adb.exe” and click 'Restart'

I downloaded Android Studio on windows, and I am trying to run the default HelloWorld application. However, when I run that app, I get a dialog box with the following:

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

I've searched for solutions online and most of it was to kill the adb server and start it again manually, but when I do so in the command line I get:

sdk\platform-tools>adb kill-server
* server not running *

sdk\platform-tools>adb start-server
adb server is out of date.  killing...
ADB server didn't ACK
* failed to start daemon *

And the first error keeps showing. I restarted my machine, and the problem is still there. Any ideas? Thanks.

I tried this fix: http://visualgdb.com/adbfix/#adbfix_download but it did not work. It showed: "No Conflicts Found".

Note: I need the app to run on my device. Not on emulator

I was also facing same issue and I followed these steps and problem went away:

1.close all program in your system then

2.then go to start button and search for %temp% then delete all files inside this folder

3.install Cclean software and clean your system.

4.restart your system

I was facing same issue in win7 and I took these steps to resolve the problem:

When starting Android Studio, it warns you with ADB not responding . If you'd like to retry, then please manually kill the process. You should enter cmd , and input adb kill-server for ten times or more.

When the building has finished, input adb start-server and you will see

daemon not running. 
starting it now on port 5037 
daemon started successfully

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM