代码改变世界

[Android]ADT Run时候报错:The connection to adb is down, and a severe error has occured

2014-03-22 16:27  hellenism  阅读(218)  评论(0编辑  收藏  举报

The connection to adb is down, and a severe error has occured.

之 ..\sdk\platform-tools\adb.exe and can be executed.问题

 

原因:

一般情况是因为adb.exe进程的端口被其他应用程序占用了,所以无法部署到手机

 

解决步骤:

1.关闭adt,打开任务管理器,查看是否存在adb.exe进程,如果存在,则结束该进程

2.cmd控制台, cd 到adb的sdk/platform-tools目录下

3.输入adb kill-server结束服务,再adb start-server,重新启动adb.exe进程

4.任务管理器查看adb.exe进程是否成功启动

5.over