OpenHarmony开发者论坛

标题: 编译前已经签过名了,hap包还是安装不上,手动安装hap包时还是报错,报错信息为:failed to install bundle. code:9568289 error: install failed due to grant request permissions failed. [打印本页]

作者: melody    时间: 2023-11-23 10:08
标题: 编译前已经签过名了,hap包还是安装不上,手动安装hap包时还是报错,报错信息为:failed to install bundle. code:9568289 error: install failed due to grant request permissions failed.
[md]### 【问题描述】

编译前已经签过名了,hap包还是安装不上,手动安装hap包时还是报错,报错信息为:failed to install bundle. code:9568289 error: install failed due to grant request permissions failed.

[/md]
作者: westinyang    时间: 2023-11-23 18:08
[md]在`UnsgnedReleasedProfileTemplate.json`文件内进行ACL权限配置

[/md]
作者: 深开鸿_巴延兴    时间: 2023-11-23 18:25
[md]![3862eef4-58c6-4ae2-a56f-e507c20f0843.png](data/attachment/forum/202311/23/182407lcswm545etpc6wzq.png "3862eef4-58c6-4ae2-a56f-e507c20f0843.png")
如图文件,文件中两个红框中的内容修改为一致,清理下工程重新编译下应该就可以了

[/md]
作者: xq_qyh    时间: 2023-11-25 17:20
[md]我也遇到了这个问题但是不知道怎么解决后来创建了个新项目移植过去就行了

[/md]




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