In the afternoon, I installed hongmeng’s IDE. The whole process is recorded below.
If it is Android development, basic need not see, front-end development partners can learn from.
Install the IDE
Go to the official website to download the MAC VERSION of the IDE
After installing the normal MAC software, click the picture of the app to start the IDE.
Start the IDE
The following screen appears, select whether to create the startup script, then select the country/address, consent protocol, and so on.
Download the SDK
As you can see in the image above, not much has been downloaded, a toolchain and a Java package. Click Finish to enter the IDE.
Configure the IDE
Click the Setting icon in the lower left corner of the IDE to enter the property configuration.
Modify the IDE theme color
Start with your favorite theme color
Download preview
Download HarmonyOs SDK for your own needs. The default HarmonyOs SDK is Java, js and Native (C/C ++).
The next Perviewer is ready to open, and it’s not small.
Hello Harmony start
Create a Java project to run on your phone:
Note: The Compatible API Version defaults to SDK:API Version 4 (mine did), but I only clicked 5 so I had to change it.
Click Finish and the project is created. To run the project, you need to start an emulator. Click on the Tools – > HVD Manager
Since huawei emulators are remote, you need to log in to the emulator account first.
Have account still not good, still must complete real name authentication first
Once you have your real-name account, go back and click Login, which takes you to a web page that lets you Login. If the following page is displayed, the login is successful.
But there are potholes, or places that are not stable yet. If the login fails, clear the browser Cookie. If not, refer to the official website solution
All the above is ok, enter the interface below, the eyeball triangle can run the simulator.
Operating Projects:
To Hello Harmony
JS project
I am curious about what JS projects look like, so I created an IPhone project based on JS language. To create JS projects, I need to download JS SDK from the Settings first.
The result is as follows:
I’ll change it to “Hello, Hongmeng.”
Oh, it’s not complicated after looking at the left directory.