Importing a Sample to Create a Project
NOTE: This feature applies to OpenHarmony projects created using DevEco Studio 2.1 Release or later.
After the OpenHarmony SDK is configured, you can get started to develop your app by importing a sample project.
-
On the DevEco Studio welcome page, select Configure or click the icon, and choose Settings > Version Control > Git. Then click Test to check whether the Git tool has been installed.
-
On the DevEco Studio welcome page, click Import HarmonyOS Sample to import a sample project.
-
Choose OpenHarmony Samples > common > JsHelloWorld > Next.
-
Configure App Name and Project Location and click Finish. Wait until the sample project is imported.
-
When the project is successfully synced, start developing your OpenHarmony app.