Preparations
Setting Up the Development Environment
Download and install DevEco Studio. For details, see the HUAWEI DevEco Studio User Guide.
Creating a Project
-
Open the project wizard using either of the following methods:
- If no project is open, select Create HarmonyOS Project on the welcome page.
- If a project is already open, go to File > New > New Project on the menu bar.
-
Choose the Smart Vision for Device and Empty Feature Ability for Template.
-
Click Next and configure the project.
- Project Name: project name.
- Package Name: software package name. By default, this name will also be used as your application ID. Your application must have a unique ID to be released.
- Save Location: path for storing project files. The path cannot contain Chinese characters or spaces.
- Compatible API Version: compatible API version of the SDK.
-
Click Finish. DevEco Studio will automatically generate the sample code and resources that match your project type. Wait until the project is created.