Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Docs
提交
950d1a28
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看板
提交
950d1a28
编写于
5月 06, 2023
作者:
X
xsz233
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
add proxy data err code doc
Signed-off-by:
N
xsz233
<
xushizhe@huawei.com
>
上级
e207d64e
变更
2
隐藏空白更改
内联
并排
Showing
2 changed file
with
36 addition
and
0 deletion
+36
-0
zh-cn/application-dev/reference/apis/js-apis-installer.md
zh-cn/application-dev/reference/apis/js-apis-installer.md
+6
-0
zh-cn/application-dev/reference/errorcodes/errorcode-bundle.md
.../application-dev/reference/errorcodes/errorcode-bundle.md
+30
-0
未找到文件。
zh-cn/application-dev/reference/apis/js-apis-installer.md
浏览文件 @
950d1a28
...
...
@@ -121,6 +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. |
| 17700044 | Failed to install because the isolationMode does not match the system. |
**示例:**
...
...
@@ -185,6 +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. |
| 17700044 | Failed to install because the isolationMode does not match the system. |
**示例:**
...
...
@@ -253,6 +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. |
| 17700044 | Failed to install because the isolationMode does not match the system. |
**示例:**
...
...
zh-cn/application-dev/reference/errorcodes/errorcode-bundle.md
浏览文件 @
950d1a28
...
...
@@ -544,6 +544,36 @@ The specified bundle is a shared bundle which cannot be uninstalled.
1.
通过-s参数指定卸载的应用为共享库应用。
2.
通过UninstallParam参数的bundleName及versionCode指定卸载的共享库的包名及版本。
## 17700042 数据代理中的uri配置错误
**错误信息**
<br/>
Failed to install because the uri in data proxy is wrong.
**错误描述**
<br/>
安装应用时,数据代理的uri配置错误。
**可能原因**
<br/>
1.
uri中的包名与当前应用的包名不一致。
2.
uri重复。
**处理步骤**
<br/>
1.
修改uri中的包名为当前应用的包名。
2.
修改重复的uri,每一个数据代理的uri都是唯一的。
## 17700043 数据代理中的权限配置错误
**错误信息**
<br/>
Failed to install because the apl of permission in non-system data proxy should be system_basic or system_core.
**错误描述**
<br/>
安装应用时,非系统应用的数据代理的权限等级过低,应为system_basic或system_core。
**可能原因**
<br/>
1.
非系统应用的数据代理未配置权限。
1.
非系统应用的数据代理的权限等级过低。
**处理步骤**
<br/>
1.
在数据代理中配置读权限和写权限。
2.
修改读权限和写权限,并确认其权限等级为system_basic或system_core。
## 17700044 安装包设置的多进程配置项与系统配置项设置矛盾
**错误信息**
<br/>
Failed to install because the isolationMode does not match the system.
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录