Skip to content

Environment Setup Guide Overview

OpenHarmony Version and API Level Reference

Before setting up your development environment, review the relationship between OpenHarmony system versions and their corresponding API levels. This mapping helps you choose the correct API version for your target OpenHarmony system.

Version 4.0 4.1 5.0.0 5.0.1 5.0.2 5.0.3 5.1.0 6.0 6.1
API Level 10 11 12 13 14 15 18 20 23

API Level Selection

Select the API level that corresponds to the target OpenHarmony system version. For example, use API level 23 for OpenHarmony 6.1.

DevEco Studio

DevEco Studio is a Huawei IDE based on IntelliJ IDEA. It supports application development with an advanced HarmonyOS emulator and is available for Windows and macOS.

Warning

DevEco Studio's emulator isn't available on Intel-based Macs.

Oniro App Builder & IDE

These are two separate but related tools:

  • Oniro App Builder is a command-line tool that provides the functionality required for Oniro development.
  • Oniro IDE is a Visual Studio Code extension based on App Builder. It makes the same functionality available in an IDE.

Because the tools are closely related, this guide discusses them together. They run applications in the Oniro emulator, which provides fewer features than the DevEco Studio emulator. Both tools are available for Windows, Linux, and macOS.

Full SDK & Public SDK

This section provides information for developers who want to create system applications.