行业知识
adb shell input text 输入中文
2026-11-03 07:04:31
来源:互联网转载
由于adb 不支持中文输入(不支持 Unicode),需要index.php/tags-602.html" >使用虚拟键盘绕一圈。
可以直接参考和使用:
https://github.com/senzhk/ADBKeyBoard
# 通用方式adb shell am broadcast -a ADB_INPUT_TEXT --es msg '赞' # mac/linux 支持 base64(itext=`echo '赞~' | base64 `; adb shell am broadcast -a ADB_INPUT_B64 --es msg $itext)
上一篇:内网首选dns怎么填服务器?
下一篇:【JS】数值精度缺失问题解决方案