Mobile Development 4 min read

Step-by-Step Guide to Getting Started with Huawei HarmonyOS 2.0 Development

This tutorial walks readers through the entire process of setting up the HarmonyOS 2.0 development environment, downloading the IDE and SDK, creating various types of projects, configuring the emulator, and finally running a simple "Hello World" application on a Huawei device.

Architecture Digest
Architecture Digest
Architecture Digest
Step-by-Step Guide to Getting Started with Huawei HarmonyOS 2.0 Development

Huawei HarmonyOS 2.0 has been open‑sourced, and this article provides a complete, step‑by‑step tutorial for developers familiar with Android to start building HarmonyOS applications.

Prerequisites : Visit the official HarmonyOS website (https://www.harmonyos.com) and download the IDE from https://device.harmonyos.com/cn/ide. The development studio can also be obtained at https://developer.harmonyos.com/cn/develop/deveco-studio#download.

Source code : The open‑source code repository is https://openharmony.gitee.com.

Project creation : After installing the IDE, three project templates are available – TV device apps, Wearable apps, and Lite Wearable apps. The tutorial demonstrates creating a TV Java project using a list template.

SDK configuration : During installation the SDK download prompt can be cancelled; manually select the SDK path and enable all required components for automatic download.

Emulator setup : Download the HarmonyOS emulator (gradle‑5.4.1‑all.zip) and follow the on‑screen prompts. If the download fails, click “download again” to retry.

Account login and authorization : Use a Huawei account (prefer the Windows built‑in browser over Chrome) to log in, complete real‑name verification, and grant the necessary permissions.

Running the app : After the emulator starts, run the generated "Hello World" project; the application should launch successfully on the virtual device.

The article concludes with a reminder to like and share if the guide was helpful.

mobile developmentSDKHarmonyOSTutorialIDE setupemulatorHuawei
Architecture Digest
Written by

Architecture Digest

Focusing on Java backend development, covering application architecture from top-tier internet companies (high availability, high performance, high stability), big data, machine learning, Java architecture, and other popular fields.

0 followers
Reader feedback

How this landed with the community

login Sign in to like

Rate this article

Was this worth your time?

Sign in to rate
Discussion

0 Comments

Thoughtful readers leave field notes, pushback, and hard-won operational detail here.