简体   繁体   English

亚行在Android Studio中未响应

[英]ADB not responding in android studio

The dialog has 3 options: Wait more, Restart and Cancel. 该对话框有3个选项:“等待更多”,“重新启动”和“取消”。 But all of them gives me the same result, ie a message Waiting for ADB appears and I can't do anything with Android Studio. 但是所有这些都给我相同的结果,即出现一条消息,等待ADB,并且我无法使用Android Studio做任何事情。

I have to kill the program using windows task manager! 我必须使用Windows Task Manager终止程序! I'm using windows 7. 我正在使用Windows 7。

I tried some steps like rebuild project and clean project but it didn't work correctly....I also try kill the adb.exe in Task manager ..but it not show in the Task manager sometimes. 我尝试了一些步骤,例如重建项目和清理项目,但是它无法正常工作。...我也尝试在任务管理器中杀死adb.exe ..但有时它不会在任务管理器中显示。

Can anyone help me on this? 谁可以帮我这个事?

the main problem is adb.exe not found in Task manager.. 主要问题是在任务管理器中找不到adb.exe。

Open command prompt and type in the below command 打开命令提示符,然后输入以下命令

adb kill-server

then start server using the below command 然后使用以下命令启动服务器

adb start-server

This could remove any potential "waiting for adb" message if your adb server is not started correctly 如果您的ADB服务器未正确启动,则这可能会删除任何潜在的“等待ADB”消息

Note: you may want to have adb in path variable 注意:您可能想在路径变量中使用adb

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

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