DEV Community

Cover image for Create and run Hello World
liu yang
liu yang

Posted on

Create and run Hello World

After installing DevEco Studio, you can verify your setup by running a Hello World project. Here's how to create a new project for Phone devices:

Create a New Project

  • Launch DevEco Studio and click Create Project on the welcome page.
  • Follow the project creation wizard. Select Application or Atomic Service, choose the Empty Ability template, then click Next.
  • Fill in the project details and click Finish.

Image description

Run Hello World

  • Connect a HarmonyOS-powered device to your computer.
  • Click File > Project Structure... > Project > SigningConfigs, check Support HarmonyOS and Automatically generate signature, then click Sign In and log in with your Huawei account. After the auto-signing completes, click OK.
  • Click the run button in the toolbar to execute the project.

Image description

Image description

Congratulations! You've successfully run your first application.

Top comments (0)