提交 ff5fee97 编写于 作者: L liwuli

添加错误码

Signed-off-by: Nliwuli <liwuli@huawei.com>
上级 eb893cd0
......@@ -1680,6 +1680,7 @@ install(admin: Want, hapFilePaths: Array\<string>, installParam?: InstallParam):
| ------- | ---------------------------------------------------------------------------- |
| 9200001 | the application is not an administrator of the device. |
| 9200002 | the administrator application does not have permission to manage the device. |
| 9201002 | the application install failed. |
**示例:**
......
......@@ -184,3 +184,27 @@ Authorize permission to the application failed.
**处理步骤**
检查需要被授予权限的应用是否在管理员用户下安装。
## 9201002 应用安装失败
**错误信息**
the application install failed.
**错误描述**
当企业设备管理安装企业应用失败时,则会产生此错误码。
**可能原因**
该错误码表示安装企业应用失败,可能原因如下。
1. 应用安装路径为空、不存在、无效路径。
2. 安装多个不同包名的应用。
3. 当安装参数flag为0时再次安装已存在的应用。
4. 传入无效用户id。
**处理步骤**
1. 检查应用安装路径是有效的安装路径。
2. 检查安装参数是有效的安装参数。
3. 检查安装的是同一应用。
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册