Full SDK & Public SDK

There are two types of SDKs:

  • Public-SDK: A toolkit provided for application development. It is available to download with DevEco Studio and does not include high-permission APIs required for system applications.
  • Full-SDK: A toolkit provided for OEM manufacturers to develop applications. It cannot be downloaded with DevEco Studio and includes high-permission APIs required for system applications.

How to get the Full SDK?

Get the Full SDK

  1. Obtain the latest OpenHarmony SDK from the OpenHarmony daily build pipeline Daily Build - OpenHarmony CI. The daily build pipeline builds system images, SDKs, etc.

    Use conditional filtering, such as selecting the project as openharmony, selecting the target branch OpenHarmony-4.1-Release, selecting a date from the previous month, or manually choosing a range.

    In the daily build or rolling build, find ohos-sdk-full_4.1-Release, and click on the download link to choose and download the full package, which includes Full-SDK for Windows and Linux. (If daily build SDK is not compatible with your version of DevEco Studio, try to use rolling build SDK instead).

    Note: While this guide uses the 4.1-Release version as an example, more recent SDK versions, such as 5.0.0-Release with API version 12, are also available. Make sure to select the version that matches your requirements.

pipeline description remark
ohos-sdk-public The public SDK is available for Linux and Windows platforms It is provided for application developers and does not include system interfaces that require system permissions
mac-sdk-public The public SDK for macOS is available It is provided for application developers and does not include system interfaces that require system permissions
ohos-sdk-full Applicable to Linux and Windows platforms. If you want to use system APIs, you need to use this SDK. Available to OEMs, including system interfaces that require access to the system
mac-sdk-full Full SDK for macOS. If you want to use system APIs, you need to use this SDK. Available to OEMs, including system interfaces that require access to the system
  1. Make sure that the downloaded SDK is the full SDK.
    • Check whether the downloaded file name contains “full-SDK.”
    • Check if the API includes system APIs such as @ohos.app.ability.abilityManager.d.ts, @ohos.app.form.formInfo.d.ts, and @ohos.bluetooth.d.ts

Replace the Full SDK

Take the replacement of the full SDK of DevEco Studio 4.1, API 11 on Windows OS as an example.

  1. Backup and remove the local SDK:
    Make sure to select OpenHarmony then navigate to the directory where the original SDK is installed.

Copy the entire SDK directory (e.g., 11) to another location on your system where you want to keep the backup.

Now you can remove the original SDK from its directory.

  1. The SDK you have acquired needs to be recognized by DevEco Studio in order to be used. For example, with the daily build SDK: version-Release_Version-OpenHarmony-4.1.10.3-20250415_034027-ohos-sdk-full_4.1-Release.tar.gz, the compressed file has the following directory structure. You can see that it contains SDK files for both Linux and Windows platforms. Each platform’s SDK includes directories such as ets, js, native, previewer, and toolchains.
    ├── version-Release_Version-OpenHarmony-4.1.10.3-20250415_034027-ohos-sdk-full_4.1-Release
    │   ├── manifest_tag.xml
    │   └── ohos-sdk
    │       ├── linux
    │       │   ├── ets-linux-x64-4.1.10.3-Release.zip
    │       │   ├── js-linux-x64-4.1.10.3-Release.zip
    │       │   ├── native-linux-x64-4.1.10.3-Release.zip
    │       │   ├── previewer-linux-x64-4.1.10.3-Release.zip
    │       │   └── toolchains-linux-x64-4.1.10.3-Release.zip
    │       └── windows
    │           ├── ets-windows-x64-4.1.10.3-Release.zip
    │           ├── js-windows-x64-4.1.10.3-Release.zip
    │           ├── native-windows-x64-4.1.10.3-Release.zip
    │           ├── previewer-windows-x64-4.1.10.3-Release.zip
    │           └── toolchains-windows-x64-4.1.10.3-Release.zip
    
  2. Create a new directory with the API version 11 as the file name in dir path: xxx\Sdk\ , unzip the compressed files into this directory to form a structure below:

  3. Verify in the IDE:
    Full API will be loaded in IDE and you can now rebuild the project.

Approach 2: From Compiled Source Files

The Full-SDK is not available directly. It can be compiled from the source code of OpenHarmony and manually replaced in DevEco Studio. The method of replacing the SDK is the same as the one mentioned in Approach 1.

You can find the guide of compilation of source code here: How to compile Full SDK