OpenHarmony开发者论坛

标题: hdc uninstall com.ohos.permissionmanager报错error: uninstall system app error [打印本页]

作者: martin_hu    时间: 2024-3-14 15:12
标题: hdc uninstall com.ohos.permissionmanager报错error: uninstall system app error
[md]IDE版本4.0 release

OpenHarmony版本:4.1 Beta1

平台:RK3568


问题描述:IDE 中导入permissionmanager工程,运行后卸载permissionmanager系统应用报错:

$ hdc uninstall com.ohos.permissionmanager
03/14 15:02:31: Uninstall failed: [Info]App uninstall path:, queuesize:0, msg:error: failed to uninstall bundle. code:9568380 error: uninstall system app error.
AppMod finish
$ hdc shell mkdir data/local/tmp/6ff035491ef84e86a3b37a1a2e6b406e
$ hdc file send "C:\Users\xxx\Desktop\ohos4.1\permission_manager\permissionmanager\build\default\outputs\default\permissionmanager-entry-default-signed.hap" "data/local/tmp/6ff035491ef84e86a3b37a1a2e6b406e"
$ hdc shell bm install -p data/local/tmp/6ff035491ef84e86a3b37a1a2e6b406e
03/14 15:02:32: Install Failed: error: failed to install bundle.
code:9568332
error: install sign info inconsistent.
View detailed instructions.
Error while Deploy Hap


修改install_list.json,重启后仍无效

```
{
            "app_dir" : "/system/app/com.ohos.permissionmanager",
            "removable" : true
        }
```


请教如何卸载和安装系统app
[/md]
作者: 深开鸿_胡瑞涛    时间: 2024-3-27 16:11
修改 install_list.json中相关应用的removable 为true后,重新编译镜像,在烧录上去,这个系统应用就可以删除了
作者: 夕妹    时间: 2024-9-6 10:36
回复 深开鸿_胡瑞涛:  这个install_list.json文件通过DevEco studio修改后, 结果并未更新到openharmony系统中,怎么改?

作者: 深开鸿_胡瑞涛    时间: 2024-10-14 15:53
回复 夕妹: 修改后,重新编译并烧录镜像




欢迎光临 OpenHarmony开发者论坛 (https://forums.openharmony.cn/) Powered by Discuz! X3.5