zoukankan      html  css  js  c++  java
  • The connection to adb is down, and a severe error has occured. 错误

    错误: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:androidSDKAeclipseandroid-sdk-windows-1.5_r2platform-toolsadb.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:Usersxxxx>adb nodaemon server
    cannot bind 'tcp:5037'

    原来adb server 端口绑定失败

     

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

    C:Usersxxxxxx>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,问题解决!

  • 相关阅读:
    html +JS 自学
    Linux下SVN多版本库管理
    Jenkins更换国内源
    Kubernetes Service
    Kubernetes Pod
    ubuntu下vim配置日常工作版本
    PYTHON替代MATLAB在线性代数学习中的应用(使用Python辅助MIT 18.06 Linear Algebra学习)
    mongodb 片键需要思考的问题
    SpringBoot--Easycode插件自定义模板
    Docker-概述
  • 原文地址:https://www.cnblogs.com/suncoolcat/p/3281254.html
Copyright © 2011-2022 走看看