OpenHarmony开发者论坛

标题: OpenHarmony编译系统自带的sysytemui,用hdc替换之前的hap后显示如下 [打印本页]

作者: admi    时间: 2023-12-18 19:51
标题: OpenHarmony编译系统自带的sysytemui,用hdc替换之前的hap后显示如下
[md]按此文档操作编译systemui:https://blog.csdn.net/qq_45870343/article/details/134871071

OpenHarmony编译系统自带的sysytemui,用hdc替换之前的hap后显示如下,

hdc shell mount -o rw,remount /
hdc shell rm -rf /system/app/com.ohos.systemui/*

hdc file send C:\Users\openharmony\Desktop\applications_systemui-OpenHarmony-3.2-Release\entry\phone\build\default\outputs\default\phone_entry-default-signed.hap /system/app/com.ohos.systemui/SystemUI.hap
hdc file send C:\Users\openharmony\Desktop\applications_systemui-OpenHarmony-3.2-Release\product\default\navigationBar\build\default\outputs\default\default_navigationBar-phone_entry-default-signed.hap /system/app/com.ohos.systemui/SystemUI-NavigationBar.hap
hdc file send C:\Users\openharmony\Desktop\applications_systemui-OpenHarmony-3.2-Release\product\default\notificationmanagement\build\default\outputs\default\default_notificationmanagement-phone_entry-default-signed.hap /system/app/com.ohos.systemui/SystemUI-NotificationManagement.hap
hdc file send C:\Users\openharmony\Desktop\applications_systemui-OpenHarmony-3.2-Release\product\default\volumepanel\build\default\outputs\default\default_volumepanel-phone_entry-default-signed.hap /system/app/com.ohos.systemui/SystemUI-VolumePanel.hap
hdc file send C:\Users\openharmony\Desktop\applications_systemui-OpenHarmony-3.2-Release\product\phone\dropdownpanel\build\default\outputs\default\phone_dropdownpanel-phone_entry-default-signed.hap /system/app/com.ohos.systemui/SystemUI-DropdownPanel.hap
hdc file send C:\Users\openharmony\Desktop\applications_systemui-OpenHarmony-3.2-Release\product\phone\statusbar\build\default\outputs\default\phone_statusbar-phone_entry-default-signed.hap /system/app/com.ohos.systemui/SystemUI-StatusBar.hap

hdc shell rm -rf /data/*
hdc shell reboot

![8fcc2bc94f8c17278c0aa92fb5493ff.jpg](https://forums-obs.openharmony.c ... 0qs0qn0fzoauzn0.jpg "8fcc2bc94f8c17278c0aa92fb5493ff.jpg")
[/md]
作者: admi    时间: 2024-1-4 20:03
有没有大神指导一下怎么编译OpenHarmony3.2release systemui
作者: xq_qyh    时间: 2024-1-5 15:37
要把7个systemui有关的hap包全部替换了再编译,你这里是少了一个锁屏的hap包SystemUI-ScreenLock.hap
作者: admi    时间: 2024-1-15 18:15
回复 xq_qyh: 您好。我已经把锁屏的hap包编译了,现在全都不显示了。我的full-sdk用的是3.2.15.4 ; DevEco Studio 用的是3.1.1 release

作者: xq_qyh    时间: 2024-1-16 09:36
回复 admi: https://laval.csdn.net/657279489820e81a16d96691.html  参考一下这个吧




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