已开启
systemUI编译注意事项 #371
AtomGit-Bot创建于  2022年6月6日
AtomGit-Bot
2022年6月6日 创建

由于目前发布的IDE和SDK存在bug ,systemui应用侧规避方法:
在node_modules/@ohos/hvigor-ohos-plugin/src/tasks/compile-resource.js中
第60行插入...this.service.getProjectModel().getSubProjects().keys(),
第61行插入 "pc_o"

likedislike
AAtomGit-Bot
2022年6月6日 创建了任务
AAtomGit-Bot
2022年6月6日 修改了描述
AAtomGit-Bot
2022年6月6日 修改了描述
AAtomGit-Bot
2022年6月6日 修改了描述
AAtomGit-Bot
2022年6月10日 修改了描述
AAtomGit-Bot
2022年6月10日 添加了   SIG_SysApplication 标签
AAtomGit-Bot
2022年6月10日 将置顶等级设置为高
AtomGit-Bot
2022年6月23日 评论:

适配901IDE和3.2.2.5过程中,SDK中存在部分接口错误,故为hap安装到镜像后正常运行,代码中加入@ts-nocheck规避SDK的错误。之后等SDK修复后,需要删除@ts-nocheck

likedislike
lijinfengde123
lijinfengde123
2022年6月24日 评论:

首次烧录完镜像之后执行关闭沙箱的指令,否则看不到PluginComponent控件效果:
mount -o remount,rw /
touch 3rdmodem
chown root:root 3rdmodem
reboot

likedislike
AtomGit-Bot
2022年7月15日 评论:

3.1Release源码需要使用IDE 900版本, 修改配置node_modules/@ohos/hvigor-ohos-plugin/src/tasks/compile-resource.js如下

            .addModules([...new Set([
                this.moduleModel.getName(),
                this.moduleModel.getSourceSetByTargetName(target)
                    .getModuleTargetRes().getModuleJsonOpt().module.name,
                ...this.service.getProjectModel().getSubProjects().keys(),
                "pc_o"
            ])].join(','));
likedislike
kennethkenneth
2023年3月13日 将置顶等级从 高 修改为中