HOME
  • GM-3568JHF
  • M4-R1
  • M5-R1
  • SC-3568HA
  • M-K1HSE
  • CF-NRS1
  • CF-CRA2
  • 1684XB-32T
  • 1684X-416T
  • C-3568BQ
  • C-3588LQ
  • GC-3568JBAF
  • C-K1BA
Shop
  • English
  • 简体中文
HOME
  • GM-3568JHF
  • M4-R1
  • M5-R1
  • SC-3568HA
  • M-K1HSE
  • CF-NRS1
  • CF-CRA2
  • 1684XB-32T
  • 1684X-416T
  • C-3568BQ
  • C-3588LQ
  • GC-3568JBAF
  • C-K1BA
Shop
  • English
  • 简体中文
  • SC-3568HA

    • Introduction

      • SC-3568HA Overview
    • Quick Start Guide

      • OpenHarmony Overview
      • Image Flashing
      • Setting Up the Development Environment
      • Hello World Application and Deployment
    • Application Development

      • ArkUI

        • Chapter 1 Introduction to ArkTS Language
        • Chapter 2 Introduction to UI Components and Practical Applications (Part 1)
        • Chapter 3 Introduction to UI Components and Practical Applications (Part 2)
        • Chapter 4 Introduction to UI Components and Practical Applications (Part 3)
      • Expand

        • Chapter 1 Getting Started Guide
        • Chapter 2 Referencing and Using Third-Party Libraries
        • Chapter 3: Application Compilation and Deployment
        • Chapter 4: Command-Line Factory Reset
        • Chapter 5: System Debugging -- HDC (Huawei Device Connector) Debugging
        • Chapter 6 APP Stability Testing
        • Chapter 7 Application Testing
    • Device Development

      • Chapter 1 Environment Setup
      • Chapter 2 Download Source Code
      • Chapter 3 Compiling Source Code
    • Peripheral And Iinterface

      • Raspberry Pi interface
      • GPIO Interface
      • I2C Interface
      • SPI communication
      • PWM (Pulse Width Modulation) control
      • Serial port communication
      • TF Card
      • Display Screen
      • Touch
      • Audio
      • RTC
      • Ethernet
      • M.2
      • MINI-PCIE
      • Camera
      • WIFI&BT
      • Raspberry Pi expansion board
    • Frequently Asked Questions

      • Resource Downloads
  • M-K1HSE

    • Introduction

      • M-K1HSE Introduction
    • Quick Start

      • Development environment construction
      • Source code acquisition
      • Compilation Notes
      • Burning Guide
    • Peripherals and interfaces

      • 01 Audio
      • 02 RS485
      • 03 Display
    • System customization development

      • System transplant
      • System customization
      • Driver Development
      • System Debugging
      • OTA Update

Setting Up the Development Environment

1. Purpose

This document is designed for beginners in OpenHarmony application development. By building a simple application with page navigation/return functionality (as illustrated below), users can quickly familiarize themselves with the main files in the project directory and understand the OpenHarmony application development workflow.

2. Tool Preparation

Install the latest version of DevEco Studio:

Tool Path: https://developer.huawei.com/consumer/cn/deveco-studio/

a. Download DevEco Studio from Baidu Cloud Disk to your local computer and specify the installation path as:

TOOL

b. Extract the compressed file to your local directory. It contains an executable (.exe) file and a PDF document:

TOOL

Notes

Use a shorter path to avoid exceeding the 1024-character limit, which may cause errors in subsequent operations.

c. Double-click the .exe file. After a short wait, the installation prompt will appear. Click [Next].

TOOL

d. Select an installation location. Choose the drive with the most free space (e.g., drive D). Create a new empty folder for installation to avoid errors.

TOOL

e. Check the box to create a desktop shortcut

TOOL

f. Click [Install] to start the installation.

TOOL

g. The installation is complete when you see the following message:

TOOL

h. At this point, you can find the shortcut for 【DevEco Studio】 on your desktop.

TOOL

3. [DevEco Studio] Initial Setup

a. Double-click the 【DevEco Studio】 shortcut icon on your desktop to launch it.

TOOL

b. You may see some declarations here. Simply click [Agree] to confirm your acceptance.

c. After completing the previous steps, you may encounter configuration options. Since no specific settings have been adjusted yet, simply click [OK] to apply the default settings.

d. This process requires a local Node.js environment and Ohpm. However, since these are typically not pre-installed, you should select [Install] if they are missing. Before proceeding, create dedicated folders named "Nodejs" and "Ohpm" in the installation directory to organize these tools.

TOOL

e. After specifying the SDK download location, click [Next] to proceed.

TOOL

f. After clicking [Accept], proceed by clicking [Next] two more times.

TOOL

g. Wait during installation.

TOOL

h. Post-download verification: The presence of "successful" in the completion message confirms full installation success.

TOOL
Edit this page on GitHub
Last Updated:
Contributors: zsl, zwhuang
Prev
Image Flashing
Next
Hello World Application and Deployment