Symptom
The error message "compatibleSdkVersion and releaseType of the app do not match the apiVersion and releaseType on the device." is displayed during HAP installation.

Solution
This issue occurs because the minimum compatible SDK version configured in your project is later than the device image version.
You can run the hdc shell param get const.ohos.apiversion command to query the API version of the current device and compare it with the API version of the compatibleSdkVersion field configured in the project-level build-profile.json5 file. If the versions do not match, adopt the following solutions:
Solution 1: Upgrade the device image version to match the version required by your project. You can do this through the system settings on the device.
Solution 2: Decrease the API version of your project. Click in the upper right corner
of DevEco Studio and select a lower version for Compatible SDK.
