• Lv0
    粉丝0

积分0 / 贡献0

提问1答案被采纳0文章0

作者动态

    ubuntu20.04配置OpenHarmony

    ljjj1107 显示全部楼层 发表于 4 天前

    为什么在根目录下运行build.sh会报这些错误,新手看不懂啊,求大佬指点一下

    [OHOS INFO] Set cache size limit to 100.0 GB

    [OHOS ERROR] Traceback (most recent call last): [OHOS ERROR] File "/home/lj/shared/code/build/hb/containers/status.py", line 47, in wrapper [OHOS ERROR] return func(*args, *kwargs) [OHOS ERROR] File "/home/lj/shared/code/build/hb/resolver/build_args_resolver.py", line 224, in resolve_build_target [OHOS ERROR] raise OHOSException('There is no target component "{}" for the current product "{}"' [OHOS ERROR] exceptions.ohos_exception.OHOSException: There is no target component "build_framework" for the current product "3568T" [OHOS ERROR] [OHOS ERROR] During handling of the above exception, another exception occurred: [OHOS ERROR] [OHOS ERROR] Traceback (most recent call last): [OHOS ERROR] File "/home/lj/shared/code/build/hb/containers/status.py", line 47, in wrapper [OHOS ERROR] return func(args, **kwargs) [OHOS ERROR] File "/home/lj/shared/code/build/hb/resolver/interface/args_resolver_interface.py", line 40, in resolve_arg [OHOS ERROR] return resolve_function(target_arg, module) [OHOS ERROR] File "/home/lj/shared/code/build/hb/containers/status.py", line 56, in wrapper [OHOS ERROR] _type = exception.get_type() [OHOS ERROR] File "/home/lj/shared/code/build/hb/exceptions/ohos_exception.py", line 42, in get_type [OHOS ERROR] return status_file[str(self._code)]['type'] [OHOS ERROR] KeyError: 'type' [OHOS ERROR]

    [OHOS ERROR] Code: 0000 [OHOS ERROR] [OHOS ERROR] Reason: 'type' [OHOS ERROR] [OHOS ERROR] Error Type: UNKNOWN ERROR TYPE [OHOS ERROR] [OHOS ERROR] Description: NO DESCRIPTION [OHOS ERROR] [OHOS ERROR] Solution: NO SOLUTION [OHOS ERROR] =====build error=====

    您尚未登录,无法参与评论,登录后可以:
    参与开源共建问题交流
    认同或收藏高质量问答
    获取积分成为开源共建先驱

    精彩评论1

    深开鸿_王石

    沙发 发表于 昨天 14:08
    [OHOS ERROR] raise OHOSException('There is no target component "{}" for the current product "{}"'
    [OHOS ERROR] exceptions.ohos_exception.OHOSException: There is no target component "build_framework" for the current product "3568T" 你用啥命令编的,这意思就是编译对象没找到,一般参考文档最简单的就是 ./build.sh --product-name rk3568

    Copyright   ©2023  OpenHarmony开发者论坛  京ICP备2020036654号-3 |技术支持 Discuz!

    返回顶部