You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

Xubuntu系统adb启动失败:protocol fault故障求助

adb启动报错:protocol fault (couldn't read status): Connection reset by peer

环境信息

  • 操作系统:Xubuntu(Ubuntu衍生版)
  • Android Studio:按默认步骤安装,此前运行正常,安装后未重启系统,关机再开机后出现问题
  • 对比验证:个人Fedora笔记本相同配置可正常运行

报错详情

执行adb相关命令均返回错误,具体输出如下:

$ ps aux | grep adb
jakubja+    9484  0.0  0.0  22036  2412 pts/0    S+   15:30   0:00 grep --color=auto adb
$ adb kill-server
error: failed to read response from server
$ adb start-server
error: protocol fault (couldn't read status): Connection reset by peer
$ adb -P 19999 start-server
error: protocol fault (couldn't read status): Connection reset by peer
$ adb devices
adb: failed to check server version: protocol fault (couldn't read status): Connection reset by peer

已尝试的排查与解决步骤

  1. 搜索同类问题未找到有效解决方法
  2. 重装Android SDK后问题依旧
  3. 启用ADB全量日志仍无法定位问题,日志输出:
$ export ADB_TRACE=all
$ adb start-server
07-18 17:03:20.431  4870  4870 D adb     : adb_trace.cpp:187 Android Debug Bridge version 1.0.41
07-18 17:03:20.431  4870  4870 D adb     : adb_trace.cpp:187 Version 34.0.4-10411341
07-18 17:03:20.431  4870  4870 D adb     : adb_trace.cpp:187 Installed as /home/jakubjankiewicz/Android/Sdk/platform-tools/adb
07-18 17:03:20.431  4870  4870 D adb     : adb_trace.cpp:187 Running on Linux 5.19.0-46-generic (x86_64)
07-18 17:03:20.431  4870  4870 D adb     : adb_trace.cpp:187 
07-18 17:03:20.431  4870  4870 D adb     : adb_client.cpp:358 adb_connect: service: host:start-server
07-18 17:03:20.431  4870  4870 D adb     : adb_client.cpp:160 _adb_connect: host:version
07-18 17:03:20.432  4870  4870 D adb     : adb_io.cpp:107 writex: fd=3 len=16 30303063686f73743a76657273696f6e 000chost:version
07-18 17:03:20.432  4870  4870 D adb     : adb_io.cpp:81 readx: fd=3 wanted=4
07-18 17:03:20.432  4870  4870 D adb     : adb_io.cpp:88 readx: fd=3 error 104: Connection reset by peer
error: protocol fault (couldn't read status): Connection reset by peer
  1. 测试adb默认端口5037:在该端口运行Python HTTP服务器可正常响应,但停止服务后adb仍报错
$ python3 -m http.server 5037
Serving HTTP on 0.0.0.0 port 5037 (http://0.0.0.0:5037/) ...
127.0.0.1 - - [19/Jul/2023 09:39:39] "GET / HTTP/1.1" 200 -
  1. 尝试安装Ubuntu官方包android-sdk-platform-tools-common中的adb版本,问题依旧

内容的提问来源于stack exchange,提问作者jcubic

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.07.16 04:34:55