-
推荐系统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
相关推荐
向哆哆14 分钟前
高校四六级报名管理系统的考试信息模块实现:Flutter × OpenHarmony 跨端开发实践ujainu38 分钟前
Flutter + OpenHarmony 实战:《圆环跳跃》——完整游戏架构与视觉优化拉轰小郑郑2 小时前
鸿蒙ArkTS中Object类型与类型断言的理解●VON3 小时前
React Native for OpenHarmony:ScrollView 事件流、布局行为与性能优化深度剖析向哆哆5 小时前
高校四六级报名系统通知公告模块实战:基于 Flutter × OpenHarmony 跨端开发●VON6 小时前
React Native for OpenHarmony:Image 组件的加载、渲染与性能优化全解析向哆哆17 小时前
构建健康档案管理系统:Flutter × OpenHarmony 跨端实现就医记录展示向哆哆19 小时前
画栈 · 跨端画师接稿平台:基于 Flutter × OpenHarmony 的整体设计与数据结构解析向哆哆21 小时前
构建 Flutter × OpenHarmony 跨端健康档案管理顶部横幅的实现与解析向哆哆21 小时前
构建跨端健康档案管理系统:Flutter × OpenHarmony 实战解析