博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
The connection to adb is down, and a severe error has occured. 错误
阅读量:6996 次
发布时间:2019-06-27

本文共 942 字,大约阅读时间需要 3 分钟。

错误:The connection to adb is down, and a severe error has occured. 

[2010-03-11 09:36:56 - HelloOPone] You must restart adb and Eclipse. 

[2010-03-11 09:36:56 - HelloOPone] Please ensure that adb is correctly located at 'D:\androidSDKAeclipse\android-sdk-windows-1.5_r2\platform-tools\adb.exe' and can be executed. 

解决: 
方法1:cmd中adb kill-server,然后adb  start-server 
方法2:方法1不管用,那么在任务管理器中杀死adb.exe,然后重启Eclipse。

方法3:方法1和方法2都不能解决。

cmd中adb  start-server 出现如下:

C:\Users\xxxx>adb nodaemon server

cannot bind 'tcp:5037'

原来adb server 端口绑定失败

 

继续查看到底是哪个端口给占用了

C:\Users\xxxxxx>netstat -ano | findstr "5037"

  TCP    127.0.0.1:5037         0.0.0.0:0              LISTENING       4236
  TCP    127.0.0.1:5037         127.0.0.1:49422        ESTABLISHED     4236
  TCP    127.0.0.1:49422        127.0.0.1:5037         ESTABLISHED     3840

原来被4236这个进程占用了端口,打开任务管理器,杀掉4236这个进程。(可以在任务管理器菜单,查看->选择列中勾选(PID)进程标识符)

至此问题没有完全解决,再次在cmd中adb start-server

出现:* daemon not running. starting it now on port 5037 *

* daemon started successfully *

重启eclipse,问题解决!

 

转载地址:http://tebvl.baihongyu.com/

你可能感兴趣的文章
epoll+socket实现 socket并发 linux服务器
查看>>
Kubernetes + CRI + Kata + Firecracker
查看>>
菜鸟成都未来园区启动,无人车首次进入园区调拨运输环节 ...
查看>>
算法不扎实的程序员,每个都很慌
查看>>
规划一个智能工厂应避免的十个坑
查看>>
Linux 虚拟网络设备详解之 Bridge 网桥
查看>>
LaTeX的简单使用方法
查看>>
第二十四章:页面导航(四)
查看>>
数字对讲系统开发札记(前端linux c 后端 c#)
查看>>
阿里在使用一种更灵活的软件集成发布模式
查看>>
SpringBoot使用Nacos配置中心
查看>>
SOP 1.2.0 发布,开放平台解决方案项目
查看>>
Element 2.6.3 发布,基于 Vue 2.0 的桌面端组件库
查看>>
丰田研发智能汽车FV2,可利用肢体进行操控
查看>>
基于kubeadm的kubernetes高可用集群部署
查看>>
定位「数字化助手」,腾讯想用服务创新助力产业智慧升级
查看>>
golang之sync.Mutex互斥锁源码分析
查看>>
SAP增强的PA教材内容
查看>>
jQuery系列 第八章 jQuery框架Ajax模块
查看>>
C#使用Xamarin开发可移植移动应用(3.Xamarin.Views控件)附源码
查看>>