提交 b13ac41b 编写于 作者: H Handsome_Afraican_Man

IssueNo:#I77DQ9

    Description:fix Bm
    Sig:bundleManager
    Feature or Bugfix:Bugfix
    Binary Source:No
Signed-off-by: Nzhouwenzhi <zhouwenzhi@huawei.com>
上级 65eb3900
......@@ -124,6 +124,7 @@ install(hapFilePaths: Array&lt;string&gt;, installParam: InstallParam, callback:
| 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 the HAP because the isolationMode configured is not supported. |
| 17700047 | Failed to install the HAP because the VersionCode to be updated is not greater than the current VersionCode. |
**示例:**
......@@ -190,6 +191,7 @@ install(hapFilePaths: Array&lt;string&gt;, callback: AsyncCallback&lt;void&gt;):
| 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 the HAP because the isolationMode configured is not supported. |
| 17700047 | Failed to install the HAP because the VersionCode to be updated is not greater than the current VersionCode. |
**示例:**
......@@ -260,6 +262,7 @@ install(hapFilePaths: Array\<string\>, installParam?: InstallParam) : Promise\<v
| 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 the HAP because the isolationMode configured is not supported. |
| 17700047 | Failed to install the HAP because the VersionCode to be updated is not greater than the current VersionCode. |
**示例:**
......
......@@ -613,3 +613,18 @@ Failed to uninstall because enterprise device management disallow uninstall.
**处理步骤**<br/>
1. 请在设备中检查应用是否被企业设备管理禁止卸载安装。
## 17700047 要更新的应用版本没有大于当前版本
**错误信息**<br/>
Failed to install the HAP because the VersionCode to be updated is not greater than the current VersionCode.
**错误描述**<br/>
安装应用时,要更新的应用版本没有大于当前版本。
**可能原因**<br/>
1. 安装应用的版本号小于等于已安装应用的版本号。
2. installFlag被设置为NORMAL,此时待更新的应用的版本号必须大于当前已安装的版本。
**处理步骤**<br/>
1. 设置应用的版本号大于当前版本。
2. 如果希望应用更新但版本号不升级,需要设置installFlag为REPLACE_EXISTING。
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册