DAYU200 RK3568开发板分布式计算器demo,安装程序时报错!!!!!
05/17 14:20:59: Install Failed: error: failed to install bundle.
code:9568289
error: install failed due to grant request permissions failed.
View detailed instructions.
Error while Deploy Hap
module.json配置文件如下
{
"module": {
"name": "entry",
"type": "entry",
"srcEntry": "./ets/Application/MyAbilityStage.ts",
"description": "$string:entry_desc",
"mainElement": "MainAbility",
"deviceTypes": [
"default",
"tablet"
],
"deliveryWithInstall": true,
"installationFree": false,
"pages": "$profile:main_pages",
"uiSyntax": "ets",
"abilities": [
{
"name": "MainAbility",
"srcEntrance": "./ets/MainAbility/MainAbility.ts",
"description": "$string:MainAbility_desc",
"icon": "$media:icon",
"label": "$string:MainAbility_label",
"startWindowIcon": "$media:icon",
"startWindowBackground": "$color:white",
"visible": true,
"launchType": "singleton",
"skills": [
{
"entities": [
"entity.system.home"
],
"actions": [
"action.system.home"
]
}
]
}
],
"requestPermissions": [
{
"name": "ohos.permission.DISTRIBUTED_DATASYNC",
"reason": "$string:distributed_permission",
"usedScene": {
"abilities": [
"MainAbility"
],
"when": "inuse"
}
},
{
"name": "ohos.permission.ACCESS_SERVICE_DM"
}
]
}
}
网上查了一下,说是权限配置问题,具体该怎么配置啊,有大佬遇到过嘛
弄好了,感谢大家,是SDK要配置成FullSDK,并且修改
\Sdk\10\toolchains\lib
下UnsgnedDebugProfileTemplate.json
和UnsgnedReleasedProfileTemplate.json
的apl权限