-
推荐系统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
相关推荐
ujainu1 分钟前
Flutter + OpenHarmony 实现经典打砖块游戏开发实战—— 物理反弹、碰撞检测与关卡系统fakerth20 小时前
【OpenHarmony】输入法imf框架ujainu1 天前
Flutter + OpenHarmony 实战:构建清晰、健壮的三屏状态流转ujainu1 天前
Flutter + OpenHarmony 实战:构建独立可复用的皮肤选择界面ujainu2 天前
Flutter + OpenHarmony 游戏开发进阶:主菜单架构与历史最高分持久化Goway_Hui2 天前
【开源鸿蒙跨平台开发--KuiklyUI--07】详解:如何使用 Trae 开发 Kuikly-OH 跨端应用●VON2 天前
React Native for OpenHarmony:贪吃蛇游戏的开发与跨平台适配实践向哆哆3 天前
Flutter × OpenHarmony 跨端开发:高校四六级报名管理系统中的“常见问题”模块实现解析ujainu3 天前
Flutter + OpenHarmony 游戏开发进阶:虚拟摄像机系统——平滑跟随与坐标偏移ujainu4 天前
Flutter + OpenHarmony 游戏开发进阶:轨迹拖尾特效——透明度渐变与轨迹数组管理