DEV Community

fengling
fengling

Posted on

HarmonyOS-NEXT Learning Path 1: Setting Up the Development Environment

一、Overview

"A craftsman must sharpen his tools to do his work well." Before diving into HarmonyOS application development, setting up a robust development environment is the crucial first step. This guide provides a detailed walkthrough of installing and configuring the DevEco Studio IDE on a Windows system, including system requirements, installation steps, and configuring the Chinese language pack. This will lay a solid foundation for your future HarmonyOS application development.

二、Introduction

HarmonyOS

HarmonyOS is a next-generation distributed operating system developed by Huawei, featuring the following core characteristics:

  • Distributed Architecture: Enables seamless cross-device collaboration.
  • Write Once, Deploy Anywhere: Significantly improves development efficiency.
  • Secure and Reliable: Offers system-level security protection.
  • Smooth Experience: Optimizes resource allocation for fluid operations.

DevEco Studio

DevEco Studio is the Huawei official integrated development environment (IDE) for HarmonyOS applications, built on IntelliJ IDEA. It offers the following standout features:

Core Features
  • Smart Coding Support: Provides code completion, error checking, and formatting for ArkTS/JS/C++ and other languages.
  • Visual Development: Supports bidirectional UI preview and real-time debugging.
  • Full-Featured Emulation: Built-in device emulator for simulating various device types, including phones.
  • Performance Optimization: Integrated Profiler tool for comprehensive performance analysis.

三、Windows Environment Requirements

System Requirements

To ensure smooth operation of DevEco Studio, your computer should meet the following specifications:
| Component | Minimum Requirement | Recommended Configuration |
| :------- | :-------------- | :-------------- |
| OS | Windows 10 64-bit | Windows 11 64-bit |
| RAM | 8GB | 16GB or higher |
| Storage | 50GB free space | 100GB SSD |
| Display | 1280×800 resolution | 1920×1080 or higher |

Installing DevEco Studio

  1. Visit theHuawei Developer Website to download the latest version.

  2. After downloading, double-click the “deveco-studio-xxxx.exe”,file to launch the DevEco Studio installation wizard. On the following screen, select the installation path. By default, it installs to C:\Program Files , but you can click Browse... **to specify a different path (preferably on a non-system drive). Then, click, **Next (N).

Image description

  1. On the installation options screen, check DevEco Studio and click Next(N), then wait for the progress bar to complete (approximately 5–10 minutes).

Image description

  1. Once the installation is complete, click Finish.

Image description

Notes

  • DevEco Studio provides an out-of-the-box development experience, bundling the HarmonyOS SDK, Node.js, Hvigor, OHPM, and emulator platforms to simplify setup.
  • The HarmonyOS SDK is embedded in DevEco Studio and does not require separate download or configuration. You can find it in the DevEco Studio\sdk directory under the installation path. For OpenHarmony application development, download the OpenHarmony SDK via Settings > OpenHarmony SDK.

Enabling the Chinese Language Plugin

  1. At the end of the installation, check Run DevEco Studio(R)before clicking*Finish(F), or double-click the DevEco Studio desktop icon to launch the software. **OK > I agree* to enter the Welcome to DevEco Studio screen, then navigate to Customize > All settings... to access the full settings menu.

Image description

Image description

  1. Click Plugins select*Installedtab, and search for "Chinese" in the search bar. The **Chinese(Simplified)plugin will appear in the results. Click **Enable* on the right, then click*OK*.

Image description

  1. In the pop-up window, click*Restart*to reboot DevEco Studio. The changes will take effect after restarting.

Image description

四、Conclusion

After successfully setting up the development environment, it is recommended to:

  1. Explore the IDE interface to familiarize yourself with its features.
  2. Create a test project to verify the configuration.
  3. Prepare for your first HarmonyOS application development tutorial.

"A journey of a thousand miles begins with a single step." You are now ready to embark on your HarmonyOS development journey! The next chapter will introduce the HelloWorld project, the foundation of all programming, to build the most basic HarmonyOS application.

Top comments (0)