Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Docs
提交
62d2945a
D
Docs
项目概览
OpenHarmony
/
Docs
1 年多 前同步成功
通知
159
Star
292
Fork
28
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
D
Docs
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
62d2945a
编写于
5月 09, 2023
作者:
X
xsz233
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
modify err msg
Signed-off-by:
N
xsz233
<
xushizhe@huawei.com
>
上级
38d03b9c
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
11 addition
and
11 deletion
+11
-11
zh-cn/application-dev/quick-start/module-configuration-file.md
.../application-dev/quick-start/module-configuration-file.md
+2
-2
zh-cn/application-dev/reference/apis/js-apis-installer.md
zh-cn/application-dev/reference/apis/js-apis-installer.md
+6
-6
zh-cn/application-dev/reference/errorcodes/errorcode-bundle.md
.../application-dev/reference/errorcodes/errorcode-bundle.md
+3
-3
未找到文件。
zh-cn/application-dev/quick-start/module-configuration-file.md
浏览文件 @
62d2945a
...
...
@@ -802,8 +802,8 @@ dependencies标签示例:
| 属性名称 | 含义 | 数据类型 | 是否可缺省 |
| ----------- | ------------------------------ | -------- | ---------- |
| uri | 标识用于访问该数据代理的uri,不同的数据代理配置的uri不可重复,且需要满足
`datashareproxy://当前应用包名/xxx`
的格式。 | 字符串 | 不可缺省。 |
| requiredReadPermission | 标识从该数据代理中读取数据所需要的权限,非系统应用配置的权限的等级需为system_basic或system_core,系统应用
无此限制。
| 字符串 | 可缺省,缺省值为空。 |
| requiredWritePermission | 标识向该数据代理中读取数据所需要的权限。非系统应用配置的权限的等级需为system_basic或system_core,系统应用
无此限制。
| 字符串 | 可缺省,缺省值为空。 |
| requiredReadPermission | 标识从该数据代理中读取数据所需要的权限,非系统应用配置的权限的等级需为system_basic或system_core,系统应用
可以不配置权限,且权限的等级没有限制。权限等级可以参考
[
权限列表
](
../security/permission-list.md
)
| 字符串 | 可缺省,缺省值为空。 |
| requiredWritePermission | 标识向该数据代理中读取数据所需要的权限。非系统应用配置的权限的等级需为system_basic或system_core,系统应用
可以不配置权限,且权限的等级没有限制。权限等级可以参考
[
权限列表
](
../security/permission-list.md
)
| 字符串 | 可缺省,缺省值为空。 |
|
[
metadata
](
#metadata标签
)
| 标识该数据代理的元信息,只支持配置name和resource字段。 | 对象 | 可缺省,缺省值为空。 |
proxyDatas标签示例:
...
...
zh-cn/application-dev/reference/apis/js-apis-installer.md
浏览文件 @
62d2945a
...
...
@@ -121,8 +121,8 @@ install(hapFilePaths: Array<string>, installParam: InstallParam, callback:
| 17700036 | Failed to install the HSP because lacks appropriate permissions. |
| 17700039 | Failed to install because disallow install a shared bundle by hapFilePaths. |
| 17700041 | Failed to install because enterprise device management disallow install. |
| 17700042 | Failed to install
because the uri in data proxy is wrong
. |
| 17700043 | Failed to install
because the apl of permission in non-system data proxy should be system_basic or system_core
. |
| 17700042 | Failed to install
the HAP because of incorrect URI in the data proxy
. |
| 17700043 | Failed to install
the HAP because of low APL in the non-system data proxy (required APL: system_basic or system_core)
. |
| 17700044 | Failed to install because the isolationMode does not match the system. |
**示例:**
...
...
@@ -187,8 +187,8 @@ install(hapFilePaths: Array<string>, callback: AsyncCallback<void>):
| 17700036 | Failed to install the HSP because lacks appropriate permissions. |
| 17700039 | Failed to install because disallow install a shared bundle by hapFilePaths. |
| 17700041 | Failed to install because enterprise device management disallow install. |
| 17700042 | Failed to install
because the uri in data proxy is wrong
. |
| 17700043 | Failed to install
because the apl of permission in non-system data proxy should be system_basic or system_core
. |
| 17700042 | Failed to install
the HAP because of incorrect URI in the data proxy
. |
| 17700043 | Failed to install
the HAP because of low APL in the non-system data proxy (required APL: system_basic or system_core)
. |
| 17700044 | Failed to install because the isolationMode does not match the system. |
**示例:**
...
...
@@ -257,8 +257,8 @@ install(hapFilePaths: Array\<string\>, installParam?: InstallParam) : Promise\<v
| 17700036 | Failed to install the HSP because lacks appropriate permissions. |
| 17700039 | Failed to install because disallow install a shared bundle by hapFilePaths. |
| 17700041 | Failed to install because enterprise device management disallow install. |
| 17700042 | Failed to install
because the uri in data proxy is wrong
. |
| 17700043 | Failed to install
because the apl of permission in non-system data proxy should be system_basic or system_core
. |
| 17700042 | Failed to install
the HAP because of incorrect URI in the data proxy
. |
| 17700043 | Failed to install
the HAP because of low APL in the non-system data proxy (required APL: system_basic or system_core)
. |
| 17700044 | Failed to install because the isolationMode does not match the system. |
**示例:**
...
...
zh-cn/application-dev/reference/errorcodes/errorcode-bundle.md
浏览文件 @
62d2945a
...
...
@@ -546,7 +546,7 @@ The specified bundle is a shared bundle which cannot be uninstalled.
## 17700042 数据代理中的uri配置错误
**错误信息**
<br/>
Failed to install
because the uri in data proxy is wrong
.
Failed to install
the HAP because of incorrect URI in the data proxy
.
**错误描述**
<br/>
安装应用时,数据代理的uri配置错误。
...
...
@@ -561,7 +561,7 @@ Failed to install because the uri in data proxy is wrong.
## 17700043 数据代理中的权限配置错误
**错误信息**
<br/>
Failed to install
because the apl of permission in non-system data proxy should be system_basic or system_core
.
Failed to install
the HAP because of low APL in the non-system data proxy (required APL: system_basic or system_core)
.
**错误描述**
<br/>
安装应用时,非系统应用的数据代理的权限等级过低,应为system_basic或system_core。
...
...
@@ -576,7 +576,7 @@ Failed to install because the apl of permission in non-system data proxy should
## 17700044 安装包设置的多进程配置项与系统配置项设置矛盾
**错误信息**
<br/>
Failed to install because the isolationMode does not match the system.
Failed to install
the HAP
because the isolationMode does not match the system.
**错误描述**
<br/>
安装应用时,设置的isolationMode与系统配置项所允许的系统配置项矛盾。
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录