1# Configuring the OpenHarmony SDK<a name="EN-US_TOPIC_0000001113561194"></a> 2 3- [Prerequisites](#section164161442154812) 4- [Configuring the SDK Information](#section1265592425017) 5 6To set up the OpenHarmony app development environment, configure the corresponding SDK information in DevEco Studio first. 7 8> **NOTE:** 9>The OpenHarmony SDK is of the API Version 6 Canary1, with some toolchains removed, which is not applicable to HarmonyOS app development. 10 11## Prerequisites<a name="section164161442154812"></a> 12 13- [DevEco Studio 2.1 Release](https://developer.harmonyos.com/en/develop/deveco-studio#download) or later has been downloaded and installed. 14- The [OpenHarmony SDK](https://mirror.iscas.ac.cn/OpenHarmony/sdk/) package has been obtained and decompressed. 15 16## Configuring the SDK Information<a name="section1265592425017"></a> 17 18DevEco Studio manages SDKs and toolchains using SDK Manager. OpenHarmony contains the following SDK packages: 19 20<a name="table64565810577"></a> 21<table><thead align="left"><tr id="row12455580576"><th class="cellrowborder" valign="top" width="24.709999999999997%" id="mcps1.1.4.1.1"><p id="p34565812572"><a name="p34565812572"></a><a name="p34565812572"></a>Type</p> 22</th> 23<th class="cellrowborder" valign="top" width="25.3%" id="mcps1.1.4.1.2"><p id="p104675817575"><a name="p104675817575"></a><a name="p104675817575"></a>Package Name</p> 24</th> 25<th class="cellrowborder" valign="top" width="49.99%" id="mcps1.1.4.1.3"><p id="p194610586574"><a name="p194610586574"></a><a name="p194610586574"></a>Description</p> 26</th> 27</tr> 28</thead> 29<tbody><tr id="row134615875716"><td class="cellrowborder" rowspan="2" valign="top" width="24.709999999999997%" headers="mcps1.1.4.1.1 "><p id="p8312243811"><a name="p8312243811"></a><a name="p8312243811"></a>SDK</p> 30</td> 31<td class="cellrowborder" valign="top" width="25.3%" headers="mcps1.1.4.1.2 "><p id="p674413467918"><a name="p674413467918"></a><a name="p674413467918"></a>Java</p> 32</td> 33<td class="cellrowborder" valign="top" width="49.99%" headers="mcps1.1.4.1.3 "><p id="p107441464917"><a name="p107441464917"></a><a name="p107441464917"></a>SDK for Java.</p> 34</td> 35</tr> 36<tr id="row44334409916"><td class="cellrowborder" valign="top" headers="mcps1.1.4.1.1 "><p id="p1946175813574"><a name="p1946175813574"></a><a name="p1946175813574"></a>JS</p> 37</td> 38<td class="cellrowborder" valign="top" headers="mcps1.1.4.1.2 "><p id="p54625885713"><a name="p54625885713"></a><a name="p54625885713"></a>SDK for JS.</p> 39</td> 40</tr> 41<tr id="row14474585576"><td class="cellrowborder" rowspan="2" valign="top" width="24.709999999999997%" headers="mcps1.1.4.1.1 "><p id="p124765819578"><a name="p124765819578"></a><a name="p124765819578"></a>SDK Tool</p> 42</td> 43<td class="cellrowborder" valign="top" width="25.3%" headers="mcps1.1.4.1.2 "><p id="p1947135818571"><a name="p1947135818571"></a><a name="p1947135818571"></a>Toolchains</p> 44</td> 45<td class="cellrowborder" valign="top" width="49.99%" headers="mcps1.1.4.1.3 "><p id="p7471158105711"><a name="p7471158105711"></a><a name="p7471158105711"></a>Includes compiling, packaging, signing, database management, and other tools that are required to develop OpenHarmony apps.</p> 46</td> 47</tr> 48<tr id="row337931010"><td class="cellrowborder" valign="top" headers="mcps1.1.4.1.1 "><p id="p193791108"><a name="p193791108"></a><a name="p193791108"></a>Previewer</p> 49</td> 50<td class="cellrowborder" valign="top" headers="mcps1.1.4.1.2 "><p id="p1238951018"><a name="p1238951018"></a><a name="p1238951018"></a>OpenHarmony app previewer, which can be used to view the UI layout during app development.</p> 51</td> 52</tr> 53</tbody> 54</table> 55 561. Open DevEco Studio. If this is the first time you are using it, select **Do not import settings** and click **OK**. 572. Follow the instructions in DevEco Studio to go to the SDK download page. In the **HarmonyOS SDK Location** field, select the local directory where the SDK package was decompressed, then click **Next**. 58 59 > **NOTE:** 60 >If you are not using DevEco Studio for the first time, the SDK download page may not be displayed. In this case, go to **Configure** \(or \) \> **Settings** \> **Appearance & Behavior** \> **System Settings** \> **HarmonyOS SDK** and click **HarmonyOS SDK Location** to download the SDK. 61 62  63 643. After the SDK is installed, click **Finish**. The DevEco Studio welcome page will then be displayed. 65 66  67 684. Go to the **Sdk\\js\\_version number_\\build-tools\\ace-loader** directory, run the following commands in CLI, and wait until the installation is complete. 69 70 ``` 71 npm cache clean -f 72 npm install 73 ``` 74 75  76 77 78