[OHOS INFO] ERROR at //build/lite/BUILD.gn:60:9: Assertion failed.
[OHOS INFO]         assert(
[OHOS INFO]         ^-----
[OHOS INFO] Component "hello_world_app" not found, please check your product configuration.
[OHOS INFO] See //build/lite/BUILD.gn:61:13: 
[OHOS INFO]             component_found,
[OHOS INFO]             ^--------------
[OHOS INFO] This is where it was set.
[OHOS INFO] ohos_build_compiler: gcc

修改文件build/lite/components/communication.json,添加组件hello_world_app的配置,如下所示为communication.json文件片段这个在笔者实操时出现错误,原因在于应将此例程的cmponent放入applications.json,而不是communication.json
在这里插入图片描述

Logo

社区规范:仅讨论OpenHarmony相关问题。

更多推荐