adb server is out of date. killing..
2013-10-23 20:39
579 查看
adb server is out of date. killing...
1:今天调试android的时候发现一个诡异的问题[html] view
plaincopy
C:\Users\xxxx>adb start-server
adb server is out of date. killing...
ADB server didn't ACK
* failed to start daemon *
adb 不管执行 shell devices 还是logcat 都会报错
[html] view
plaincopy
adb server is out of date. killing...
究其源就是adb server没启动
到stackoverflow上查了一下 经过分析整理如下:
[html] view
plaincopy
C:\Users\xxxx>adb nodaemon server
cannot bind 'tcp:5037'
原来adb server 端口绑定失败
继续查看到底是哪个端口给占用了
[html] view
plaincopy
C:\Users\xxxxxx>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
打开任务管理器kill掉4236 这个进程。ok
假如我们需要确定谁占用了我们的 80端口
1、Windows平台
在windows命令行窗口下执行:
C:\>netstat -aon|findstr"[b]4236 " [/b]
TCP 127.0.0.1:9050 0.0.0.0:0 LISTENING 3046
看到了吗,端口被进程号为[b]4236 的进程占用,继续执行下面命令:[/b]
C:\>tasklist|findstr"[b]4236 " [/b]
kugou7.exe
[b]4236 Console 0 16,064 K[/b]
很清楚吧,kugou7占用了你的端口
至此问题解决了
相关文章推荐
- C++宏定义详解
- LINUX常用命令(基础)
- 数字排序问题
- 黑马程序员-String类和它的方法
- Windows环境下多线程编程原理与应用读书笔记(6)————临界段及其应用
- 在Windows XP中为Android 4.0设备安装MTP驱动程序
- epoll机制在搜索引擎spider中的应用
- TYVJ 1434 黑匣子
- jquery 仿163网易图片新闻幻灯片展示
- c++实现socket通信测试
- STL中map的使用
- MFC控件的使用
- android 多屏 多任务
- strtok函数和strtok_r函数的简单实现
- ASP.NET中在不同的子域中共享Session
- 鼠标悬停、事件触发试用,及信号发送
- mysql相关语句笔记
- poj 2115 C Looooops His love for her is enshrined forever in his heart.扩展欧几里得
- 单击一个颜色名或者 16 进制值,就可以查看与不同文字颜色搭配的背景颜色。
- java.lang.NoClassDefFoundError