简体   繁体   English

Windows 上的 Android Studio:ADB 没有响应。 如果您想重试,请手动杀死“adb.exe”并单击“重新启动”

[英]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.我在 Windows 上下载了 Android Studio,我正在尝试运行默认的 HelloWorld 应用程序。 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:我在网上搜索了解决方案,其中大部分是杀死 adb 服务器并手动重新启动它,但是当我在命令行中这样做时,我得到:

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.我尝试了这个修复: http : //visualgdb.com/adbfix/#adbfix_download但它没有用。 It showed: "No Conflicts Found".它显示: "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 1.关闭系统中的所有程序然后

2.then go to start button and search for %temp% then delete all files inside this folder 2.然后转到开始按钮并搜索%temp%然后删除此文件夹中的所有文件

3.install Cclean software and clean your system. 3.安装Cclean软件并清理您的系统。

4.restart your system 4.重启你的系统

I was facing same issue in win7 and I took these steps to resolve the problem:我在 win7 中遇到了同样的问题,我采取了以下步骤来解决问题:

When starting Android Studio, it warns you with ADB not responding .启动 Android Studio 时,它会警告您ADB not responding If you'd like to retry, then please manually kill the process.如果您想重试,请手动kill该进程。 You should enter cmd , and input adb kill-server for ten times or more.您应该输入cmd ,并输入adb kill-server十次或更多次。

When the building has finished, input adb start-server and you will see构建完成后,输入adb start-server ,你会看到

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

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 亚行没有回应。 如果您想重试,请手动杀死“ adb.exe”并点击“重新启动” - ADB not responding. If you'd like to retry, then please manually kill “adb.exe” and click 'Restart' Android Studio-ADB没有响应。 如果您想重试,请手动杀死“ adb”并点击“重新启动” - Android Studio - ADB not responding. If you'd like to retry, then please manually kill “adb” and click 'Restart' 亚行没有回应。 如果您想重试,请手动杀死“ adb”并在Ubuntu中单击“重新启动” - ADB not responding. If you'd like to retry, then please manually kill “adb” and click 'Restart' in Ubuntu 亚行没有回应。 如果您想重试,请手动杀死“ adb”并点击“重新启动” - ADB not responding. If you'd like to retry, then please manually kill “adb” and click 'Restart' 亚行没有回应。您可以等待更多,或手动终止“adb.exe”进程并单击“重新启动” - ADB not responding. You can wait more,or kill “adb.exe” process manually and click 'Restart' 亚行没有回应。 你可以等待更多,或杀死“adb.exe”... windows 8 - ADB not responding. You can wait more, or kill “adb.exe” … windows 8 adb.exe 没有响应。手动杀死 - adb.exe not responding.kill manually Android Studio,SDK adb.exe - Android Studio, SDK adb.exe 如何在Windows上安全终止Adb.exe进程 - How to safely kill adb.exe process on windows adb.exe挂在Windows 7上 - adb.exe hang on windows 7
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM