配置hdc 中,insert 的内容
# 增加内容,注意path要改为自己SDK下的toolchains
export PATH=$PATH:/Users/xxx/Sdk/xxx/toolchains
export CLASSPATH
# 文档内容
HDC_SERVER_PORT=7035
launchctl setenv HDC_SERVER_PORT $HDC_SERVER_PORT
export HDC_SERVER_PORT
其他的去看文档
https://developer.huawei.com/consumer/cn/doc/harmonyos-guides/ide-run-device-0000001670539800
https://developer.huawei.com/consumer/cn/doc/harmonyos-guides/hdc-0000001815246474
————————————————————————
另外 hap包 安装名利
hdc install E:\com.example.hello.hap