HarmonyOS 7.0 will be released for all HarmonyOS NEXT devices. The corresponding API version is 26.0.0. It is recommended that you upgrade your development suite to version 26.0.0 and adapt your application to this version to ensure a good user experience on HarmonyOS 7.0.
During the rapid iteration and update of HarmonyOS, a large number of APIs are added, and a few APIs are deprecated or have behavior changes. To ensure compatibility, you need to evaluate the impact of deprecated APIs and API behavior changes on your application by referring to the API change document before upgrading your application. In addition, we provide the API isolation mechanism (using targetSdkVersion) and API change tool to help you upgrade your application. After upgrading and adapting your application in the development kit, you need to perform compatibility tests on both old and new devices to ensure that the application runs properly. After the verification is complete, release the latest application to AppGallery.
The migration process consists of the following phases:

This upgrade guide applies to the upgrade to API version 26.0.0. If you need to upgrade to another version, you can also refer to this process.
If you encounter any issues during the upgrade, refer to Obtaining Support and Help to report your issue.
If you have installed an earlier version of DevEco Studio, you can check for updates on the software interface or download the latest version of DevEco Studio from the official website and install it again.
If multiple versions are involved, read the changelogs of each version of DevEco Studio in sequence.
The command line tools are also pre‑equipped with a matching version of the HarmonyOS SDK. After upgrading DevEco Studio, upgrade the command‑line tools to the same version as well, to ensure that application bundles built using the command line tools in a pipeline use the same SDK toolchain as those built with DevEco Studio.
You can obtain the command line tools of the same version as DevEco Studio from Download center.
After DevEco Studio is upgraded, if targetSdkVersion is not explicitly configured in the application project, this field will be automatically updated to the SDK version that matches the new DevEco Studio version. In addition, the compileSdkVersion used for building the application by default will also be updated to the same version. If you want the application to be compatible with an earlier SDK version, you can use compatibleSdkVersion to specify the earliest SDK version that the application is compatible with. In this case, you need to evaluate and adapt to the following two API usage scenarios:
To identify the impact of specific API behavior changes on your application, you can use the following methods and refer to the change description document for adaptation:
You can use the API Change Assistant of DevEco Studio to check whether the ArkTS APIs or C APIs used in the current project have undergone behavioral changes, and then modify the project code based on the adaptation guide links provided by the tool. The steps are as follows:



For details about all changes in each HarmonyOS version, see the OS platform behavior changes of each version.
After the application is compiled based on the new SDK, install it on devices running the old and new versions for full testing and verification. This helps you identify potential incompatibility issues by covering all functions.
Currently, the Cloud Debugging function provided by AppGallery Connect supports multiple devices and API versions. If you do not have enough real devices for compatibility verification across multiple API versions, you can use the Cloud Debugging function for testing.
After the compilation and compatibility verification are complete, release the application to AppGallery.
For details, see Release.