diff --git a/zh-cn/application-dev/reference/apis/js-apis-installer.md b/zh-cn/application-dev/reference/apis/js-apis-installer.md index e871c5a21bce741a5c14aacd00024768b57cb38b..9c375d0f575feaf32e9f9c5de2f9c7ba9e958a2f 100644 --- a/zh-cn/application-dev/reference/apis/js-apis-installer.md +++ b/zh-cn/application-dev/reference/apis/js-apis-installer.md @@ -318,6 +318,7 @@ uninstall(bundleName: string, installParam: InstallParam, callback: AsyncCallbac | 17700004 | The specified user ID is not found. | | 17700020 | The specified bundle is pre-installed 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; | 17700001 | The specified bundle name is not found. | | 17700020 | The specified bundle is pre-installed 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\; | 17700004 | The specified user ID is not found. | | 17700020 | The specified bundle is pre-installed 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 diff --git a/zh-cn/application-dev/reference/errorcodes/errorcode-bundle.md b/zh-cn/application-dev/reference/errorcodes/errorcode-bundle.md index 4f53a4eaea711cd229ef16b7c27ee3461a938410..263e08076f73e231ece5b8340df056c8e5ca7bbe 100644 --- a/zh-cn/application-dev/reference/errorcodes/errorcode-bundle.md +++ b/zh-cn/application-dev/reference/errorcodes/errorcode-bundle.md @@ -544,6 +544,19 @@ The specified bundle is a shared bundle which cannot be uninstalled. 1. 通过-s参数指定卸载的应用为共享库应用。 2. 通过UninstallParam参数的bundleName及versionCode指定卸载的共享库的包名及版本。 +## 17700041 企业设备管理不允许安装该应用 +**错误信息**
+Failed to install because enterprise device management disallow install. + +**错误描述**
+安装应用时,企业设备管理不允许安装。 + +**可能原因**
+1. 企业设备管理不允许安装该应用。 + +**处理步骤**
+1. 请在设备中检查应用是否被企业设备管理禁止安装。 + ## 17700042 数据代理中的uri配置错误 **错误信息**
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. **处理步骤**
1. 按照设备的隔离模式正确配置HAP字段isolationMode。 + +## 17700045 企业设备管理不允许卸载该应用 +**错误信息**
+Failed to uninstall because enterprise device management disallow uninstall. + +**错误描述**
+卸载应用时,企业设备管理不允许卸载。 + +**可能原因**
+1. 企业设备管理不允许安装该应用。 + +**处理步骤**
+1. 请在设备中检查应用是否被企业设备管理禁止卸载安装。