zoukankan      html  css  js  c++  java
  • eclipse不能识别虚拟机的问题

    1、输入cmd进入dos界面,进入android-sdk-windowsplatform-tools目录,执行下面命令
    启动adb start-server
    出现下面错误
    * daemon not running. starting it now on port 5037 *
    ADB server didn't ACK
    * failed to start daemon *


    2、执行下面命令
    adb nodaemon server
    出现下面错误
    cannot bind 'tcp:5037'
    原来adb server 端口绑定失败 


    3、输入下面的命令查询哪个占用了5037端口
    netstat -ano | findstr "5037"
    出现下面信息
    TCP    127.0.0.1:5037         0.0.0.0:0              LISTENING       1616


    4、打开任务管理器kill掉1616这个进程,到此解决

    如果任务管理器找不到这个pid,也可以用dos命令kill掉

    在cmd下运行 taskkill /f /pid 1616


    5、再次运行下面命令,为空则可以
    netstat -ano | findstr "5037"

  • 相关阅读:
    今天我正式走出公司...
    PHP图片处理函数
    PHP缓存知识-转载
    Nginx 服务器伪静态配置实例
    PHP防止跨站攻击的脚本
    <
    <
    <- OPENGL 10 NormalMAP ->
    <-OPENGL 9-> 阴影篇
    - OPENGL8
  • 原文地址:https://www.cnblogs.com/dongweiq/p/3912500.html
Copyright © 2011-2022 走看看