importing-an-openharmony-project.md 1.2 KB
Newer Older
N
NEEN 已提交
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29
# Importing an OpenHarmony Project<a name="EN-US_TOPIC_0000001163914943"></a>

After the OpenHarmony SDK is configured, you can start developing your app only by  **importing a sample project**  to begin with.

1.  On the DevEco Studio welcome page, click  **Import HarmonyOS Sample**  to import a sample project.

    ![](figures/en-us_image_0000001163835551.png)

2.  Go to  **ability**  \>  **HelloWorld**  and click  **Next**.

    ![](figures/en-us_image_0000001117635678.png)

3.  Configure  **App Name**  and  **Project Location**  and click  **Finish**. Wait until the sample project is imported.

    ![](figures/en-us_image_0000001163915521.png)

4.  Wait until the project sync is indicated to be failed. Open the  **build.gradle**  file in the project and change the version number of the HAP plugin to  **2.4.4.3-RC**.

    ![](figures/en-us_image_0000001117475776.png)

5.  Click  ![](figures/en-us_image_0000001163835553.png)  under  **Gradle**  in the upper right corner to sync the project again.

    ![](figures/en-us_image_0000001117635680.png)

6.  When the project is successfully synced, you can develop your OpenHarmony app.

    ![](figures/en-us_image_0000001163915523.png)