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

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

    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 .

    高山流水,海纳百川!
  • 相关阅读:
    ActionContext和ServletActionContext
    1.有Dao为什么还要Service?
    1.DBCP和CP30的区别
    设计模式之单例模式(java实现)
    DOM之练习2
    js之DOM练习题
    动态改变dom结构常用方法
    js 自动类型转换
    定位属性position
    html基础
  • 原文地址:https://www.cnblogs.com/ahcc08/p/6435344.html
Copyright © 2011-2022 走看看