zoukankan      html  css  js  c++  java
  • Android ADB Server启动失败

    Android ADB Server启动失败

     

       启动Android Stdio的时候报如下错误:

    1
    2
    3
    4
    5
    Unable to create Debug Bridge: Unable to start adb server: error: could not install *smartsocket* listener: cannot bind to 127.0.0.1:5037: 閫氬父姣忎釜濂楁帴瀛楀湴鍧�(鍗忚�/缃戠粶鍦板潃/绔�彛)鍙�厑璁镐娇鐢ㄤ竴娆°�� (10048)
    could not read ok from ADB Server
    * failed to start daemon *
    error: cannot connect to daemon
    'D:adt-bundle-windows-x86_64-20140624sdkplatform-toolsadb.exe,start-server' failed -- run manually if necessary

      然后模拟器列表为空了,找不到先前建立的模拟器了。然后百度查询了下方法,记录下。

         原因是5037端口被占用了。

         解决方法:就是找到谁占用了一个端口,然后把该程序关掉。

         1、打开cmd窗口,进入adb.exe所在的文件夹目录

          如 cd D:adt-bundle-windows-x86_64-20140624sdkplatform-tools

         2、netstat -aon|findstr "5037"

          TCP 127.0.0.1:5037 0.0.0.0:0 LISTENING 5456

      

          发现5456占用了 5037端口,继续查看5456的task,发现是360MobileLink.exe.如下所示

          tasklist|findstr "5456"

          360MobileLink.exe 5456 Console 1 23,240 K

      

          接下来问题就好解决了,在任务管理器kill掉360MobileLink.exe ,运行android程序,ok .

    高山流水,海纳百川!
  • 相关阅读:
    《网络对抗技术》Exp6 MSF应用基础
    用Onenote写博客日志 
    C语言文法
    0909
    使用jQuery解决溢出文本省略
    几种流行的AJAX框架jQuery,Mootools,Dojo,Ext JS的对比
    jQuery实现动态加载大尺寸图片
    常用jQuery插件推荐
    使用不带单位的lineheight
    JavaScript懒加载技术 lazyload
  • 原文地址:https://www.cnblogs.com/lyh1299259684/p/6938460.html
Copyright © 2011-2022 走看看