文章目录
项目场景:
Bug报错如下:
hdc shell
Interactive shell is not supported.
本项目在mac系统背景下,如果是win系统可能也会适用,但还是得看具体环境情况。
尝试过将shell切换为bash、zsh,都不行
尝试过直接执行命令(如下),也不行
$ hdc shell bm get --udid
udid of current device is :
error: failed to get udid
版本信息:
hdc版本1.2.0a
手机鸿蒙版本:4.0.0.111
问题描述
问题描述:
在项目中使用hdc版本1.2.0a连接手机鸿蒙版本4.0.0.111时,在macOS系统下执行hdc shell
命令时,出现报错:“Interactive shell is not supported.” 尝试切换为bash、zsh等shell以及执行其他命令(如hdc shell bm get --udid
)均未成功。问题可能在mac系统下存在,但对于win系统也需具体环境情况而定。
具体尝试:
- 切换不同shell(bash、zsh)未解决问题。
- 直接执