-
推荐系统Ubuntu 2204
-
必须安装的软件
apt-get install curl build-essential gcc g++ make ninja-build cmake libffi-dev e2fsprogs pkg-config flex bison perl bc openssl libssl-dev libelf-dev binutils binutils-dev libdwarf-dev u-boot-tools mtd-utils cpio device-tree-compiler net-tools openssh-server git python3-pip git-lfs repo ccache
-
修改/usr/bin/repo文件,源改成清华
REPO_URL = "https://mirrors.tuna.tsinghua.edu.cn/git/git-repo/"
-
设置~/.pip/pip.config
[global] index-url = https://pypi.tuna.tsinghua.edu.cn/simple
[install] trusted-host = https://pypi.tuna.tsinghua.edu.cn -
安装hb工具
python3 -m pip install --user build/hb
-
sh改为bash shell
sudo dpkg-reconfigure dash
-
如果运行hb build报错,尝试运行hb env 看看提示,是不是有哪个组件没有安装?按照提示安装。
OpenHarmony系统编译环境
ssmile2023-11-19 5:02
相关推荐
是Yu欸5 天前
鸿蒙PC移植:2048 从网页小游戏到 AI 桌面应用wei_shuo12 天前
鸿蒙平台 GnuWin32 Unix 工具集适配实战:基于 Electron 壳方案的 14 款文本处理工具真实实现wei_shuo13 天前
鸿蒙平台 Haroopad Markdown 编辑器适配实战:基于 Electron 壳方案的实时预览写作工具wei_shuo13 天前
鸿蒙平台 Cypress 前端测试框架适配实战:基于 Electron 壳方案的纯 JavaScript BDD 测试引擎开发wei_shuo13 天前
鸿蒙平台 ES Agent REST API 测试工具适配实战:基于 Electron 壳方案的跨平台 HTTP 调试客户端开发wei_shuo13 天前
鸿蒙平台 H2 SQL 工作台适配实战:基于 Electron 壳方案的 Navicat 风格数据库管理工具开发wei_shuo14 天前
Flutter 三方库 OpenHarmony 鸿蒙适配实战:in_app_update 应用内更新插件 ArkTS 原生适配全流程Java的搬运工16 天前
HarmonyOS ArkUI V2 实战:Schema 驱动表单、2in1 适配与实时通信熊猫钓鱼>_>16 天前
Flutter app_settings 鸿蒙适配实战:Intent 体系到 Want 的跨越哈__18 天前
Flutter 3.44.9 + OpenHarmony7:image_cropper三方库 图片裁剪的应用