could not read ok from ADB Server

执行adb devices提示

List of devices attached

* daemon not running; starting now at tcp:5037

could not read ok from ADB Server

* failed to start daemon

方法1,关闭防火墙,

could not read ok from ADB Server_夜星辰2023的博客-CSDN博客

我的电脑防火墙是关的,所以看方法2:

方法2:查看5037是否被占用,并杀掉占用的进程

Step1:netstat -aon|findstr "5037"

结果: TCP 127.0.0.1:5037 0.0.0.0:0 LISTENING 51196

这个地方,可能是LISTENING,也可能是别的词,

Step2:tasklist|findstr "51196"

结果:kadb.exe 51196 Console 1 7,488 K

Step3:taskkill -f -im kadb.exe

完成!此时再次使用adb devices时,便可以查看到本机设备了

感谢作者:

9 . adb device 报错could not read ok from ADB Server * failed to start daemon adb.exe: failed to check-CSDN博客

相关推荐
爱勇宝12 小时前
我做了一个只用来搜歌词的小 App
android·前端·后端
众少成多积小致巨15 小时前
JNI (Java Native Interface) 技术手册中文参考指南
android·java·c++
Coffeeee1 天前
如何使用Glide和Coil加载WebP动图
android·kotlin·glide
Kapaseker1 天前
5 分钟搞懂 Kotlin DSL
android·kotlin
恋猫de小郭1 天前
AI Agent 开发究竟是啥?如何用 AI 开发 Agent ?深入浅出给你一套概念
android·前端·ai编程
黄林晴1 天前
Android 17 正式发布!target 37 一大批旧代码直接不能用了
android
Carson带你学Android1 天前
Android 17 正式发布:AI 终于成了系统能力
android·前端·ai编程
三少爷的鞋1 天前
当 UseCase 开始长期监听,它可能已经不是 UseCase 了
android
恋猫de小郭2 天前
Android 限制侧载新进展,谷歌联合国内厂商推验证计划
android·前端·flutter
恋猫de小郭2 天前
解读 Android 17 全新内存限制,有没有“豁免”后门?
android·前端·flutter