gpt4 book ai didi

adb - 停止缓冲 adb shell 输出

转载 作者:行者123 更新时间:2023-12-04 16:46:58 28 4
gpt4 key购买 nike

我在 adb 中观察到了这种新行为v1.0.39。命令:

adb shell getevent -l
给出以下输出:
Observe that the last line is not complete
观察到最后一行是不完整的。这发生在许多不同的设备上。相同的命令在 adb 中无需缓冲即可工作v1.0.32。
如何停止 adb shell adb 中的输出缓冲v1.0.39?

最佳答案

使用 adb exec-out而不是 adb shell命令强制新 adb使用 raw模式并避免标准输出缓冲。
有关更多信息,请阅读 shell_service.cpp 中的评论

关于adb - 停止缓冲 adb shell 输出,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/46233200/

28 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com