配置hdc 中,insert 的內(nèi)容
# 增加內(nèi)容,注意path要改為自己SDK下的toolchains
export PATH=$PATH:/Users/xxx/Sdk/xxx/toolchains
export CLASSPATH
# 文檔內(nèi)容
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