OpenHarmony开发者论坛

标题: 真机调试 [打印本页]

作者: 随缘    时间: 2023-11-16 15:59
标题: 真机调试
[md]### 调试问题

11/16 15:56:25: Launching com.tuoyingshiye.hmhykc
$ hdc shell am force-stop com.tuoyingshiye.hmhykc
$ hdc shell bm uninstall com.tuoyingshiye.hmhykc
$ hdc file send /Users/hanqiang/Desktop/hm_hykc/entry/build/default/outputs/default/entry-default-signed.hap /sdcard/54d40a65f5ea44d38ed9c43527b0cf11/entry-default-signed.hap
$ hdc shell bm install -p /sdcard/54d40a65f5ea44d38ed9c43527b0cf11/
Failure[MSG_ERR_INSTALL_FAILED_APP_SOURCE_NOT_TRUESTED]
$ hdc shell rm -rf /sdcard/54d40a65f5ea44d38ed9c43527b0cf11
Error while Deploying HAP

### 【运行环境】

硬件:nova 11 SE
ROM版本:4.0.0
DevEvoStudio版本:3.1.1
SDK版本:api9

[/md]
作者: 马迪    时间: 2023-11-16 17:01
[md]签名问题

如果是调试的话,在File-->Project Structure-->Sining Configs配置自动签名

[/md]




欢迎光临 OpenHarmony开发者论坛 (https://forums.openharmony.cn/) Powered by Discuz! X3.5