Android: The connection to adb is down, and a severe error has occured.
来源:互联网 发布:各地大数据项目 编辑:程序博客网 时间:2024/06/04 23:00
运行Android程序时,经常遇到这种情况,输出中也提示:重启adb或eclipse,不过有时也不起作用。
其实网上很多方法,最直接的就是把adb服务先关闭,然后再打开。原因就是超过了手机运行的进程数(windows API的WaitForMultipleObjects所支持的最大句柄数是MAXIMUM_WAIT_OBJECTS, 即64,可以说是adb的一个限制或bug. 即当手机上同时运行的进程数大于64时, 就会引发adb奔溃)或者和手机上开的豌豆荚端口冲突。
解决:
1、关闭eclipse(必须先关闭,然后再执行命令,否则执行后面两条命令结果不一样);
2、命令窗口找到adb.exe所在路径;
3、执行adb kill-server;
4、执行adb -startserver,然后重启eclipse就ok。
积累、成长、快乐!
0 0
- android 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.
- Android错误: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.”
- android 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
- Android学习之 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
- 关于android: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
- Android 编程碎片: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“问题
- Android 提示: 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
- Android程序出错: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
- android 出现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.
- 第十三周实践项目—验证算法(1)Prim算法的验证
- 拓扑排序
- AndroidStudio签名
- 第十一周项目5 用二叉树求解代数表达式
- 第13周上机实践项目 - 验证算法(3)Dijkstra算法的验证
- Android: The connection to adb is down, and a severe error has occured.
- su -c命令与环境变量的困惑
- java发送邮件的测试
- 安装和使用ansible
- VoltDb 性能测试
- 通过注解实现记录日志的功能
- 编程技巧 - 封装技巧 - 1
- 严重: Exception sending context initialized event to listener instance of class org.springframework.we
- CityEngine CGA语法之双坡式屋顶函数 roofGable