OpenHarmony开发者论坛

标题: 自动签名后,DEBUG提示 Install Failed: error: failed to install bundle. code:9568289 error: install failed due to grant request permissions failed. [打印本页]

作者: SamXu    时间: 2024-11-7 09:28
标题: 自动签名后,DEBUG提示 Install Failed: error: failed to install bundle. code:9568289 error: install failed due to grant request permissions failed.
[md]### 【问题描述】

1.已自动签名,使用模拟器运行报错

Install Failed: error: failed to install bundle. code:9568289 error: install failed due to grant request permissions failed.![image.png](https://forums-obs.openharmony.c ... 1x2e499o172uutf.png "image.png")

2.修改UnsgnedReleasedProfileTemplate.json

"apl": "system_core",依然报错。

### 【运行环境】

硬件:模拟器
ROM版本:
DevEvoStudio版本:5.0.3.900
SDK版本:5.0

DevEco Studio NEXT Release
Build #DS-233.14475.28.36.503900
Build Version: 5.0.3.900, built on October 8, 2024
Runtime version: 17.0.10+1-b1087.17 amd64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
Windows 10.0
GC: G1 Young Generation, G1 Old Generation
Memory: 2048M
Cores: 6
Registry:
idea.plugins.compatible.build=IC-233.14475.28
[/md]
作者: SamXu    时间: 2024-11-7 09:36
申请的权限是
{
        "name": "ohos.permission.ACCESS_CERT_MANAGER_INTERNAL",
        "reason": "$string:permissions_reason_internal",
        "usedScene": {
          "when": "inuse"
        }
      }
作者: 马迪    时间: 6 天前
参考 https://developer.huawei.com/con ... app-debugging-10-V5




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