Solution
{
"app": {
"signingConfigs": [],
"products": [
{
"name": "default",
"signingConfig": "default",
"compatibleSdkVersion": "4.0.0(10)", //Specify the minimum version compatible with HarmonyOS applications/services. The version number needs to be changed to "4.0.0 (10)", please use English carefully And ()
"targetSdkVersion": "4.0.0(10)", //Specify the target version for HarmonyOS applications/services. If not set, the default is compatibleSdkVersion
"runtimeOS": "HarmonyOS", //Designated as HarmonyOS/OpenHarmony
}
],
// ...
}