码迷,mamicode.com
首页 > 移动开发 > 详细

ADT中,运行Android程序出错:The connection to adb is down, and a severe error has occured

时间:2015-02-13 21:04:59      阅读:163      评论:0      收藏:0      [点我收藏+]

标签:

原文地址:http://www.crifan.com/android_adt_the_connection_to_adb_is_down__and_a_severe_error_has_occured/

【总结】

出现

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

的问题,主要是由于adb没法正常运行起来;

而adb没法运行起来,主要是其端口被占用了;

常见的,可能的占用adb端口的,是你当前电脑上和手机相关的管理软件,比如豌豆荚,所以解决办法是:

强制关闭豌豆荚等手机管理软件,然后去对应的adb所在路径下,打开cmd,执行:

adb.exe kill-server

adb start-server

再重启Eclipse,结果就可以正常Run或Debug,可以自动打开安卓模拟器了。

ADT中,运行Android程序出错:The connection to adb is down, and a severe error has occured

标签:

原文地址:http://www.cnblogs.com/tanhao/p/4290868.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!