Early adopters of Huawei Hongmeng OS

Author: a laity

1. Preamble

1.1 Official website:

https://www.harmonyos.com The first one to search on the Internet is not official but a tripartite

1.2. IDE download location:

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

1.3. Source code location:

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

2. Development and application part (I will add later on the source code IDE, the following are all application development parts)

2.1 When the installation starts, it will prompt to download the SDK, click Cancel, search for the SDK, and re-define the SDK path.

I follow all the SDKs, and tick them to download them automatically.

2.2 Created project

Click to create a project and found that three types are now supported

2.2.1 TV device application

2.2.2 Wearable application

e

2.2.3 Lite Wearable (Lite) Application

2.2.4 Create a TV project (Java) and choose a list template.

Creating:

Downloading gradle-5.4.1-all.zip is slow and so on. (Download to:

There should be a way to download it directly

The settings are very comprehensive and can be set, you can explore and explore) The grade source has been correctly switched to Huawei domestic

2.2.5 Download the simulator

Click to confirm in the pop-up window to download (the download speed here is slightly slower, if the download fails, click downloadagain to continue downloading. It is estimated that there are too many downloaders, and it has failed more than a dozen times)

After refreshing:

Log in with your own Huawei account ( note that there are pits here, if you use Chrome by default, authorization may fail, use the browser that comes with Windows to log in )

(Developer account real-name verification, I filled in the bank card verification speed is very fast)

To authorize:

Successful authorization:

Agree to the agreement:

The available simulators are listed:

TV emulator started

Run to see the simulator

Successful operation:

Guess you like

Origin blog.csdn.net/ajsliu1233/article/details/108568148