Mobile Development 4 min read

HarmonyOS Application Development Guide: Setting Up the IDE, Creating Projects, and Running the TV Emulator

This guide walks through installing and configuring the HarmonyOS development environment, creating various types of TV and wearable applications, downloading the necessary SDK and Gradle files, and successfully launching a TV emulator to run and test the created app.

Architecture Digest
Architecture Digest
Architecture Digest
HarmonyOS Application Development Guide: Setting Up the IDE, Creating Projects, and Running the TV Emulator

Author: -个俗人 (source: https://my.oschina.net/u/169565/blog/4557279)

Prerequisite

Official Website

https://www.harmonyos.com

IDE Downloads

Source code compilation download: https://device.harmonyos.com/cn/ide Development application download: https://developer.harmonyos.com/cn/develop/deveco-studio#download

Source Code

https://device.harmonyos.com/cn/docs/start/get-code/oem_sourcecode_guide-0000001050769927

Application Development

During installation, the setup prompts to download the SDK; cancel the prompt, manually search for the SDK, and set a custom SDK path. All SDK components can be selected for automatic download.

Creating a Project

When creating a new project, three types are currently supported:

TV Device Application

Wearable Device Application

Lite Wearable Application

Create TV Project (Java)

During project creation, Gradle 5.4.1 is downloaded (slowly). The settings allow comprehensive configuration, including switching the Gradle source to Huawei’s domestic mirror.

Downloading the Emulator

Confirm the download dialog to start downloading the emulator (download speed may be slow; retry if necessary).

After refreshing, log in with a Huawei account (use the Windows built‑in browser instead of Chrome to avoid authorization issues).

Complete real‑name authentication (bank card verification is fast) and grant the required permissions.

After successful authorization and agreement acceptance, the list of available emulators appears.

The TV emulator starts, and running the project displays the emulator screen, indicating a successful run.

End of guide.

Mobile DevelopmentHarmonyOSIDEApp DevelopmentHuaweiTV Emulator
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.