OpenHarmony开发者论坛

标题: 编译出现错误[OHOS ERROR] ohos-sdk build failed! You can try to use '--no-prebuilt-sdk' to skip the build of ohos-sdk. 请问是什么原因呢? [打印本页]

作者: evantao    时间: 2024-3-19 11:56
标题: 编译出现错误[OHOS ERROR] ohos-sdk build failed! You can try to use '--no-prebuilt-sdk' to skip the build of ohos-sdk. 请问是什么原因呢?
[md]1. 下载代码,执行bash build/prebuilts_download.sh, 执行./build.sh --product-name rk3568 --ccache
2. 过程中提示: [OHOS INFO] The OHOS-SDK was not detected, so the SDK compilation will be prioritized automatically. You can also control whether to execute this process by using '--no-prebuilt-sdk' and '--prebuilt-sdk'.
3. 编译报错: [OHOS ERROR] ohos-sdk build failed! You can try to use '--no-prebuilt-sdk' to skip the build of ohos-sdk.

注:ubuntu 是 20.04
[/md]
作者: 深开鸿_王石    时间: 2024-3-25 15:53
那句话意思就是编ohos-sdk 错了,你可以在命令里加 --no-prebuilt-sdk 这个跳过编sdk的步骤
作者: evantao    时间: 2024-3-27 15:52
回复 深开鸿_王石: 这是字面的意思,
实际上是一些编译环境工具没有安装成功,重新sudo install一遍就解决了




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