gpt4 book ai didi

android - adb shell 输入文本不带 & 字符

转载 作者:太空宇宙 更新时间:2023-11-03 12:18:19 25 4
gpt4 key购买 nike

当我输入一些带有 & 字符的文本时,我的完整文本没有输入到设备上。

D:\Apps\Android-SDK\tools>adb shell input text hello&hello
'hello' is not recognized as an internal or external command,
operable program or batch file.

它只输入了hello。但其他 &hello 字符未输入。

如何输入 & 字符?

最佳答案

您需要将您的字符串用引号括起来并转义您的&符号 "hello\&hello"

关于android - adb shell 输入文本不带 & 字符,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/25791423/

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