adb server is out of date. killing..
来源:互联网 发布:佳格大数据怎么样 编辑:程序博客网 时间:2024/05/16 07:01
adb server is out of date. killing...
1:今天调试android的时候发现一个诡异的问题
- 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 都会报错
- adb server is out of date. killing...
到stackoverflow上查了一下 经过分析整理如下:
- C:\Users\xxxx>adb nodaemon server
- cannot bind 'tcp:5037'
继续查看到底是哪个端口给占用了
- 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"4236 "
TCP 127.0.0.1:9050 0.0.0.0:0 LISTENING 3046
看到了吗,端口被进程号为4236 的进程占用,继续执行下面命令:
C:\>tasklist|findstr"4236 "
kugou7.exe 4236 Console 0 16,064 K
很清楚吧,kugou7占用了你的端口
至此问题解决了
- adb server is out of date. killing
- adb server is out of date. killing..
- adb server is out of date. killing...
- adb server is out of date. killing...
- adb server is out of date. killing...
- adb server is out of date. killing...
- adb server is out of date killing
- adb server is out of date. killing...
- adb server is out of date. killing
- adb server is out of date. killing...
- adb server is out of date. killing...
- adb server is out of date. killing...
- adb server is out of date. killing...
- adb server is out of date. killing...
- adb server is out of date.killing...
- adb server is out of date. killing...
- adb server is out of date. killing...
- adb server is out of date. killing...
- STL中map的使用
- 【递推】wikioi 2825 危险的组合
- c++实现socket通信测试
- 每日一记之策略模式
- Android平台下使用Ksoap2调用传递复杂对象
- adb server is out of date. killing..
- C++宏定义详解
- 在Windows XP中为Android 4.0设备安装MTP驱动程序
- 转自网络的求职,如有得罪随时删除
- LINUX常用命令(基础)
- 二叉树遍历算法
- 优化AutoCAD .NET 程序的加载——Through the Interface
- IOS的开始
- 操作系统--Linux的安装