The connection to adb is down, and a severe error has occured.
来源:互联网 发布:美国 制造业回归 知乎 编辑:程序博客网 时间:2024/05/21 22:44
今天在用真机测试Android的时候发现出现了这个提示
The connection to adb is down, and a severe error has occured.
[2017-10-11 09:36:56 - HelloOPone] You must restart adb and Eclipse.
[2017-10-11 09:36:56 - HelloOPone] Please ensure that adb is correctly located at 'D:\OPhoneSDK_1.5
\platform-tools\adb.exe' and can be executed.
原因: 1、已经存在了一个模拟器
2、有可能是有程序占用了对应的端口,比如91助手、360手机助手这些软件
解决: 1、可以去任务管理器关掉这些软件,在重新启动Elipse
2、方法一不行的话,去安装Android的地方看看platform-tools中是否有adb.exe(或者在相关路径下面有没有platform-tools文件夹
3、有时候在任务管理找不到adb这些东西,或者adb没有问题的话,就进入DOS界面,调到adb.exe文件存在的地方,关掉adb,然后在重新启动
先在DOS界面中跳到有adb的文件夹下面,比如我的在D:\android\android-sdk\platform-tools下面,先输入D: 跳到D盘下面
在输入cd android\android-sdk\platform-tools
然后我们输入先后输入这两个命令就可以了 adb kill-server,然后adb -startserver
如果不能执行成功,出现下面的错误提示的话,就是端口被占用了,去任务管理器把占用这些端口的软件结束掉就可以了,一般是91手机卫士这些东西
5037为adb默认端口,若5037端口被占用,查看占用端口的进程(使用命令netstat -aon|findstr 5037)
PID C:\Users\qq>netstat -aon|findstr 5037
TCP 127.0.0.1:5037 0.0.0.0:0 LISTENING 8292
通过PID查看所有进程C:\Users\qq>tasklist /fi "PID eq 8292"映像名称
杀死占用端口的进程C:\Users\qq>taskkill /pid 8292 /f
成功: 已终止 PID 为 8292 的进程。
- 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.
- 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.
- 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.”
- 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.
- 剑指offer---左旋转字符串
- spring-DI环境搭建
- 51nod 1052 最大m子段和 DP
- 基于matlab的图像处理-RGB色彩提取方法
- 飞狐教育java学习【第一天】知识点
- The connection to adb is down, and a severe error has occured.
- 197. Rising Temperature(Lettcode)
- thinkphp 同时更新多条数据
- 数据结构与算法分析(Java语言描述)(8)—— (随机)快速排序
- 淘淘商城商品下架
- RabbitMQ消息通信,一个生产者和多个消费者
- 操作系统:线程
- Visual Studio 2010打开高版本项目的解决方法
- 想要向一个数组中每隔两个字符插入一个“*”,为什么输出不了结果(Visual Studio 2017)