The connection to adb is down, and a severe error has occured完整解决办法
来源:互联网 发布:js array sort 编辑:程序博客网 时间:2024/06/05 18:50
其早上在启动Eclipse进行安卓模拟机调试的时候,发现模拟器打不开了,
提示错误如下:
[2013-08-17 08:41:22 - ListViewTest] The connection to adb is down, and a severe error has occured.
[2013-08-17 08:41:22 - ListViewTest] You must restart adb and Eclipse.[2013-08-17 08:41:22 - ListViewTest] Please ensure that adb is correctly located at 'D:\adt-bundle-windows-x86-20130522\sdk\platform-tools\adb.exe' and can be executed.
很明显错误的原因就是adb.exe文件没有正常去执行,我首先找到了这个exe文件,确定这个文件是存在的,那么可能的原因一般来说只有两个:
一、端口号被占用导致其无法正常运行。
二、改程序exe出现问题导致无法正常使用。
网上搜了一下,告诉我们应该如下操作:
先关闭eclipse,cmd打开命令控制台,输入
adb kill-server,关闭改进程,如果提示server not running,那就是说明这个进行没有正常运行了。
那我们就来尝试启动这命令试一试。
adb start-server启动该服务,如果没有任何提示的话,那么恭喜你,你打开Eclipse就可以正常启动模拟器了。
如果提示如下:
那么就是启动失败,端口号被占用的原因了,那我们就应该首先去查找adb使用哪个端口号
adb nodaemon server
提示:cannot bind 'tcp:5037'
然后我们查找5037被谁占用
netstat -ano|findstr "5037"
提示:
最后一列是进程号,那我们就根据进程号来查找到底是什么程序占用了这个端口。
命令:
tasklist|findstr "3308"
tasklist|findstr "2112"
提示结果:
然后就知道原因了吧。
QQ的tadb程序占用了5037这个端口,关闭tadb这个进程就可以正常启动模拟器了。
查了一些关于tadb.exe的资料,原来这个是腾讯监听安卓手机端的程序,不信的话你看一下你出现这种情况的时候手机是不是正好连接着电脑呢?
最后加一句,电脑上安装了手机助手的需要将其卸载
- 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 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 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 occured. You must restart adb and 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
- The connection to adb is down, and a severe error has occured.
- The connection to adb is down, and a severe error has occured.
- jsp乱码问题
- leetcode binary tree maximum path sum
- 《数据结构》C++代码 散列表
- Cocos2d-x移植到WindowsPhone8移植问题-libNetwork库移植问题
- AbstractFactory模式讲解
- The connection to adb is down, and a severe error has occured完整解决办法
- UPX 3.91W 中文帮助
- Android 在Ubuntu12.04上配置两个JDK
- HDU 2051 10进制转化为2进制
- 国外bt种子网站
- .net中的数据连接信息的位置
- centos 挂载u盘
- Android Fragment完全解析,关于碎片你所需知道的一切
- 【题意】#80 A. Blackjack