manifest:基于ArkUI的跨平台应用开发框架项目

ArkUI-X repo management | ArkUI-X项目仓管理

Branch13Tags5

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

  1. Register your account with Gitee.

  2. Register an SSH public key for access to Gitee.

  3. 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
    
  4. 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 -j12
    

    Method 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 -j12
    

    Method 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.

Name

Description

samples

Samples

developtools

ArkUI paradigm build and conversion tool and cross-platform application build tool

build

ArkUI cross-platform project build and configuration scripts

docs

Documentation

base

Basic capability modules, for example, resource management

arkcompiler

Ark compiler, toolchain, and runtime

prebuilts

Prebuild directories, including **python**, **nodejs**, **clang**, and **cmake**

foundation

ArkUI basic code and Android/iOS/OpenHarmony adaptation layer code

plugins

API plug-in management

community

Community operation management

third_party

Open source third-party components

commonlibrary

C++ public basic class library

test

Test suite

build.sh

Build script entry files

Introduction

ArkUI-X repo management | ArkUI-X项目仓管理

Customize your domain