ArkUI-X repo management | ArkUI-X项目仓管理
Access rate limit exceeded. Please log in to continue.
ArkUI-X Source Code
简体中文 | English
Introduction to ArkUI-X
ArkUI-X refers to the ArkUI cross-platform project. This project works with ArkUI-specific projects in OpenHarmony to adapt the ArkUI development framework to different OS platforms, such as Android, iOS, and Windows. You can reuse most application code (UI and main application logic) based on the ArkUI and deploy the code on the corresponding OS platform, thus reducing cross-platform application development costs.
The open source code is available at the ArkUI repository.
Prerequisites
-
Register your account with Gitee.
-
Register an SSH public key for access to Gitee.
-
Install the git client and git-lfs, and configure basic user information.
git config --global user.name "yourname" git config --global user.email "your-email-address" git config --global credential.helper store -
Run the following commands to install the repo tool:
curl -s https://gitee.com/oschina/repo/raw/fork_flow/repo-py3 > /usr/local/bin/repo # If you do not have the access permission to this directory, download the tool to any other accessible directory and configure the directory to the environment variable. chmod a+x /usr/local/bin/repo pip3 install -i https://repo.huaweicloud.com/repository/pypi/simple requests
How to Use
-
Obtaining the ArkUI-X Master Code
Method 1 (recommended): Use the repo tool to download the source code over SSH. (You must have registered an SSH public key for access to Gitee.)
mkdir arkui cd arkui repo init -u git@gitee.com:arkui-x/manifest.git -b master --no-repo-verify repo sync -c --no-tags -j12Method 2: Use the repo tool to download the source code over HTTPS.
mkdir arkui cd arkui repo init -u https://gitee.com/arkui-x/manifest.git -b master --no-repo-verify repo sync -c repo forall -c 'git lfs pull' -
Obtaining the ArkUI-X Release Code
Method 1 (recommended): Use the repo tool to download the source code over SSH. (You must have registered an SSH public key for access to Gitee.)
mkdir arkui cd arkui repo init -u git@gitee.com:arkui-x/manifest.git -b master --no-repo-verify -m arkui-dev.xml repo sync -c --no-tags -j12Method 2: Use the repo tool to download the source code over HTTPS.
mkdir arkui cd arkui repo init -u https://gitee.com/arkui-x/manifest.git -b master --no-repo-verify -m arkui-dev.xml repo sync -c --no-tags -j12
Source Code Directories
The following table lists the ArkUI-X source code directories.