Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Docs
提交
9866320a
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看板
未验证
提交
9866320a
编写于
5月 15, 2023
作者:
O
openharmony_ci
提交者:
Gitee
5月 15, 2023
浏览文件
操作
浏览文件
下载
差异文件
!18140 【同步d.ts】uninstall接口新增错误码
Merge pull request !18140 from junyi233/myfeature
上级
5d4d1d73
f5f9b3ec
变更
2
隐藏空白更改
内联
并排
Showing
2 changed file
with
29 addition
and
0 deletion
+29
-0
zh-cn/application-dev/reference/apis/js-apis-installer.md
zh-cn/application-dev/reference/apis/js-apis-installer.md
+3
-0
zh-cn/application-dev/reference/errorcodes/errorcode-bundle.md
.../application-dev/reference/errorcodes/errorcode-bundle.md
+26
-0
未找到文件。
zh-cn/application-dev/reference/apis/js-apis-installer.md
浏览文件 @
9866320a
...
@@ -318,6 +318,7 @@ uninstall(bundleName: string, installParam: InstallParam, callback: AsyncCallbac
...
@@ -318,6 +318,7 @@ uninstall(bundleName: string, installParam: InstallParam, callback: AsyncCallbac
| 17700004 | The specified user ID is not found. |
| 17700004 | The specified user ID is not found. |
| 17700020 | The specified bundle is pre-installed bundle which cannot be uninstalled. |
| 17700020 | The specified bundle is pre-installed bundle which cannot be uninstalled. |
| 17700040 | The specified bundle is a shared bundle which cannot be uninstalled. |
| 17700040 | The specified bundle is a shared bundle which cannot be uninstalled. |
| 17700045 | Failed to uninstall because enterprise device management disallow uninstall. |
**示例:**
**示例:**
...
@@ -375,6 +376,7 @@ uninstall(bundleName: string, callback: AsyncCallback<void>): void;
...
@@ -375,6 +376,7 @@ uninstall(bundleName: string, callback: AsyncCallback<void>): void;
| 17700001 | The specified bundle name is not found. |
| 17700001 | The specified bundle name is not found. |
| 17700020 | The specified bundle is pre-installed bundle which cannot be uninstalled. |
| 17700020 | The specified bundle is pre-installed bundle which cannot be uninstalled. |
| 17700040 | The specified bundle is a shared bundle which cannot be uninstalled. |
| 17700040 | The specified bundle is a shared bundle which cannot be uninstalled. |
| 17700045 | Failed to uninstall because enterprise device management disallow uninstall. |
**示例:**
**示例:**
...
@@ -433,6 +435,7 @@ uninstall(bundleName: string, installParam?: InstallParam) : Promise\<void\>;
...
@@ -433,6 +435,7 @@ uninstall(bundleName: string, installParam?: InstallParam) : Promise\<void\>;
| 17700004 | The specified user ID is not found. |
| 17700004 | The specified user ID is not found. |
| 17700020 | The specified bundle is pre-installed bundle which cannot be uninstalled. |
| 17700020 | The specified bundle is pre-installed bundle which cannot be uninstalled. |
| 17700040 | The specified bundle is a shared bundle which cannot be uninstalled. |
| 17700040 | The specified bundle is a shared bundle which cannot be uninstalled. |
| 17700045 | Failed to uninstall because enterprise device management disallow uninstall. |
**示例:**
**示例:**
```
ts
```
ts
...
...
zh-cn/application-dev/reference/errorcodes/errorcode-bundle.md
浏览文件 @
9866320a
...
@@ -544,6 +544,19 @@ The specified bundle is a shared bundle which cannot be uninstalled.
...
@@ -544,6 +544,19 @@ The specified bundle is a shared bundle which cannot be uninstalled.
1.
通过-s参数指定卸载的应用为共享库应用。
1.
通过-s参数指定卸载的应用为共享库应用。
2.
通过UninstallParam参数的bundleName及versionCode指定卸载的共享库的包名及版本。
2.
通过UninstallParam参数的bundleName及versionCode指定卸载的共享库的包名及版本。
## 17700041 企业设备管理不允许安装该应用
**错误信息**
<br/>
Failed to install because enterprise device management disallow install.
**错误描述**
<br/>
安装应用时,企业设备管理不允许安装。
**可能原因**
<br/>
1.
企业设备管理不允许安装该应用。
**处理步骤**
<br/>
1.
请在设备中检查应用是否被企业设备管理禁止安装。
## 17700042 数据代理中的uri配置错误
## 17700042 数据代理中的uri配置错误
**错误信息**
<br/>
**错误信息**
<br/>
Failed to install the HAP because of incorrect URI in the data proxy.
Failed to install the HAP because of incorrect URI in the data proxy.
...
@@ -587,3 +600,16 @@ Failed to install the HAP because the isolationMode configured is not supported.
...
@@ -587,3 +600,16 @@ Failed to install the HAP because the isolationMode configured is not supported.
**处理步骤**
<br/>
**处理步骤**
<br/>
1.
按照设备的隔离模式正确配置HAP字段isolationMode。
1.
按照设备的隔离模式正确配置HAP字段isolationMode。
## 17700045 企业设备管理不允许卸载该应用
**错误信息**
<br/>
Failed to uninstall because enterprise device management disallow uninstall.
**错误描述**
<br/>
卸载应用时,企业设备管理不允许卸载。
**可能原因**
<br/>
1.
企业设备管理不允许安装该应用。
**处理步骤**
<br/>
1.
请在设备中检查应用是否被企业设备管理禁止卸载安装。
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录