Android 调试桥 (ADB) 性能问题

发布于 2025-01-11 04:44:05 字数 411 浏览 2 评论 0原文

一段时间以来,我们在 Mac 上遇到了 Android Debug Bridge 的性能问题。在使用了几次桥之后,它就卡住了,需要很长时间才能执行任何操作。我们发现使其恢复正常的唯一解决方法是终止并重新启动桥,adb Kill-server && adb 启动服务器

作为使用该工具几次后的示例,adb devices 需要大约十秒的时间来执行,而重新启动后命令的结果几乎是立即的。

我们已尝试重新安装并更新 ADB,但问题仍然存在。

我们在使用 Android Debug Bridge 版本 1.0.41 的 MacOS Monterey 12.2.1 上遇到了该问题;版本 31.0.3-7562133 和 31.0.2-7242960

您对如何解决或排除该问题有任何建议吗?

It is some time that we are experiencing performance issues with Android Debug Bridge on Mac. After few usages of the bridge it got stuck and takes a lot to perform any action. The only workaround we found to bring it to normal is to kill and restart the bridge, adb kill-server && adb start-server.

As an example after few usages of the tool, adb devices takes about ten seconds to execute while after a restart the result of the command is nearly immediate.

We have tried to reinstall and update ADB but the problem persists.

We experienced the problem on MacOS Monterey 12.2.1 with Android Debug Bridge version 1.0.41; Version 31.0.3-7562133 and 31.0.2-7242960

Do you have any suggestion on how to solve or troubleshoot the problem?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文