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-20140624\sdk\platform-tools\adb.exe,start-server'  failed -- run manually  if  necessary

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

     原因是5037端口被占用了。

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

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

      如 cd D:\adt-bundle-windows-x86_64-20140624\sdk\platform-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 .

 

高山流水,海纳百川!

转载于:https://www.cnblogs.com/lyh1299259684/p/6938460.html

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值