OpenHarmony 5.0.2 Release 版本对标准系统的能力进行持续完善,以快速迭代的方式推出 API 14,相比 5.0.1 Release 版本,重点做出了如下特性新增或增强:
进一步增强 ArkUI、图形图像的能力,提供更多组件的高级属性设置,支持更多精致动效;进一步增强 Web 能力,满足更多应用诉求;针对 2in1 设备特点,新增一系列窗口管理和控制的能力及窗口生命周期行为管理;新增一批企业定制应用的能力,支持灵活管理企业定制应用,等
注册码云 gitee 帐号。
注册码云 SSH 公钥,请参考码云帮助中心[1]。
安装git 客户端[2]和git-lfs[3]并配置用户信息。
git config --global user.name "yourname"
git config --global user.email "your-email-address"
git config --global credential.helper store
安装码云 repo 工具,可以执行如下命令。
curl -s https://gitee.com/oschina/repo/raw/fork_flow/repo-py3 > /usr/local/bin/repo #如果没有权限,可下载至其他目录,并将其配置到环境变量中chmod a+x /usr/local/bin/repo
pip3 install -i https://repo.huaweicloud.com/repository/pypi/simple requests
方式一(推荐)
通过 repo + ssh 下载(需注册公钥,请参考码云帮助中心[4])。
从版本分支获取源码。可获取该版本分支的最新源码,包括版本发布后在该分支的合入。
repo init -u git@gitee.com:openharmony/manifest.git -b OpenHarmony-5.0.2-Release --no-repo-verify
repo sync -c
repo forall -c 'git lfs pull'
从版本发布 Tag 节点获取源码。可获取与版本发布时完全一致的源码。
repo init -u git@gitee.com:openharmony/manifest.git -b refs/tags/OpenHarmony-v5.0.2-Release --no-repo-verify
repo sync -c
repo forall -c 'git lfs pull'
方式二
通过 repo + https 下载。
从版本分支获取源码。可获取该版本分支的最新源码,包括版本发布后在该分支的合入。
repo init -u https://gitee.com/openharmony/manifest -b OpenHarmony-5.0.2-Release --no-repo-verify
repo sync -c
repo forall -c 'git lfs pull'
从版本发布 Tag 节点获取源码。可获取与版本发布时完全一致的源码。
repo init -u https://gitee.com/openharmony/manifest -b refs/tags/OpenHarmony-v5.0.2-Release --no-repo-verify
repo sync -c
repo forall -c 'git lfs pull'
https://developer.huawei.com/consumer/cn/download/
image-20250205101350726
下载之后记得安装配套的 SDK 版本。
image-20250205101212628
参考资料
[1]
码云帮助中心: https://gitee.com/help/articles/4191
[2]
git 客户端: https://gitee.com/link?target=https%3A%2F%2Fgit-scm.com%2Fbook%2Fzh%2Fv2%2F%E8%B5%B7%E6%AD%A5-%E5%AE%89%E8%A3%85-Git
[3]
git-lfs: https://gitee.com/vcs-all-in-one/git-lfs?_from=gitee_search#downloading
[4]
码云帮助中心: https://gitee.com/help/articles/4191