[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
版权声明:本文为beiketaoerge原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。