在Eclipse中执行Andorid test preject提示The connection to adb is down, and a severe error has occured.解决方法
2014-10-24 21:41
691 查看
启动android模拟器时.有时会报The connection to adb is down, and a severe error has occured.的错误.在网友说在任务管理器上把所有adb.exe关闭掉.重启eclipse.但试过不管用.所以在外国网站上找到一种可行的方法:
1.先把eclipse关闭.
2.在管理器转到你的android SDK 的platform-tools下, 如图:
![](http://my.csdn.net/uploads/201205/12/1336758144_1888.jpg)
3.键入adb kill-server ,如果adb关闭了会提示 server not running *
4.再输入 adb start-server 如果不成功会提示 daemon not running. starting it now on port ***的
而如果成功的话不提示任何语句的.这时再重新打开eclipse就可以正常运行模拟器的了.
还有一种情况,真机调试的时候,你开了腕豆夹,导致端口冲突了,前面一直没留意这个问题 ,解决办法:安装完手机的驱动后,关闭腕豆夹,重启eclipse,应该就可以了。腕豆夹与eclipse一般不同时打开!
方法二:
遇到问题描述:
运行android程序控制台输出
[2013-06-25 11:10:32 - MyWellnessTracker] The connection to adb is down, and a severe error has occured.
[2013-06-25 11:10:32 - MyWellnessTracker] You must restart adb and Eclipse.
[2013-06-25 11:10:32 - MyWellnessTracker] Please ensure that adb is correctly located at 'E:\SDK\platform-tools\adb.exe' and can be executed.
有很多种情况,所以也有很多解决方法:
1、任务管理器 kill掉adb 或者重启adb server
2、查看任务管理器没有adb,猜测是某个程序占用了adb端口
5037为adb默认端口 查看该端口情况如下:
查看:cmd —— netstat -aon|findstr "5037"
TCP 127.0.0.1:5037 0.0.0.0:0 LISTENING 5408
TCP 127.0.0.1:5037 127.0.0.1:49542 ESTABLISHED 5408
发现5408占用了 5037端口,继续查看5408的task:
查看: tasklist|findstr "5408"
tadb.exe 5408 Console 1 2,980 K
发现是tadb.exe占用,直接在任务管理器里面kill掉或
taskkill /f /im tadb.exe
Tip:1)、tasklist 可以找到任务管理器所有进程
2)、taskkill /f /im 程序名1.exe /f /im 程序名2.exe .... 可以kill掉多个程序
3、重新开启adb
adb kill-server
adb start-serve
1.先把eclipse关闭.
2.在管理器转到你的android SDK 的platform-tools下, 如图:
![](http://my.csdn.net/uploads/201205/12/1336758144_1888.jpg)
3.键入adb kill-server ,如果adb关闭了会提示 server not running *
4.再输入 adb start-server 如果不成功会提示 daemon not running. starting it now on port ***的
而如果成功的话不提示任何语句的.这时再重新打开eclipse就可以正常运行模拟器的了.
还有一种情况,真机调试的时候,你开了腕豆夹,导致端口冲突了,前面一直没留意这个问题 ,解决办法:安装完手机的驱动后,关闭腕豆夹,重启eclipse,应该就可以了。腕豆夹与eclipse一般不同时打开!
方法二:
遇到问题描述:
运行android程序控制台输出
[2013-06-25 11:10:32 - MyWellnessTracker] The connection to adb is down, and a severe error has occured.
[2013-06-25 11:10:32 - MyWellnessTracker] You must restart adb and Eclipse.
[2013-06-25 11:10:32 - MyWellnessTracker] Please ensure that adb is correctly located at 'E:\SDK\platform-tools\adb.exe' and can be executed.
有很多种情况,所以也有很多解决方法:
1、任务管理器 kill掉adb 或者重启adb server
2、查看任务管理器没有adb,猜测是某个程序占用了adb端口
5037为adb默认端口 查看该端口情况如下:
查看:cmd —— netstat -aon|findstr "5037"
TCP 127.0.0.1:5037 0.0.0.0:0 LISTENING 5408
TCP 127.0.0.1:5037 127.0.0.1:49542 ESTABLISHED 5408
发现5408占用了 5037端口,继续查看5408的task:
查看: tasklist|findstr "5408"
tadb.exe 5408 Console 1 2,980 K
发现是tadb.exe占用,直接在任务管理器里面kill掉或
taskkill /f /im tadb.exe
Tip:1)、tasklist 可以找到任务管理器所有进程
2)、taskkill /f /im 程序名1.exe /f /im 程序名2.exe .... 可以kill掉多个程序
3、重新开启adb
adb kill-server
adb start-serve
相关文章推荐
- 启动安卓模拟器时The connection to adb is down, and a severe error has occured.解决方法之一
- (Android)The connection to adb is down, and a severe error has occured.解决方法
- 启动安卓模拟器时The connection to adb is down, and a severe error has occured.解决方法之一 分类: Android安装及配置 2014-11-29 21:57 100人阅读 评论(0) 收藏
- 启动安卓模拟器时The connection to adb is down, and a severe error has occured.解决方法之一
- eclipse The connection to adb is down, and a severe error has occured 解决方法
- The connection to adb is down, and a severe error has occured.解决方法
- eclipse-----------出现The connection to adb is down, and a severe error has occured的解决方法
- Android:The connection to adb is down, and a severe error has occured.解决方法一
- The connection to adb is down, and a severe error has occured.解决办法
- 解决Eclipse下不自动拷贝apk到模拟器问题( The connection to adb is down, and a severe error has occured)
- Eclipse下开发android,The connection to adb is down, and a severe error has occured.提示需要重启adb怎么处理?
- The connection to adb is down, and a severe error has occured. 解决方法
- The connection to adb is down, and a severe error has occured. 解决方法
- The connection to adb is down, and a severe error has occured解决方法
- 关于Eclipse与Genymotion连接时报错“The connection to adb is down, and a severe error has occured.”的解决办法
- Android学习之 The connection to adb is down, and a severe error has occured. 解决方法
- “The connection to adb is down, and a severe error has occured”的解决方法汇总
- "The connection to adb is down, and a severe error has occured"错误解决方法
- 安卓模拟器不能启动:The connection to adb is down, and a severe error has occurred解决方法
- The connection to adb is down, and a severe error has occured.解决办法