From a68bf0e0b285f12b6483c462e94ed128e193be35 Mon Sep 17 00:00:00 2001 From: yuandongping Date: Mon, 9 Jun 2025 15:48:03 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A2=84=E7=BD=AE=E5=BA=94=E7=94=A8=E5=8D=87?= =?UTF-8?q?=E7=BA=A7API20?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: yuandongping --- code/Solutions/InputMethod/KikaInput/README_zh.md | 4 ++-- code/Solutions/InputMethod/KikaInput/build-profile.json5 | 4 ++-- code/Solutions/Tools/ArkTSClock/README_zh.md | 2 +- code/Solutions/Tools/ArkTSClock/build-profile.json5 | 2 +- .../Tools/ArkTSClock/entry/src/main/module.json5 | 7 +++---- .../DistributedAppDev/ArkTSDistributedCalc/README_zh.md | 2 +- .../ArkTSDistributedCalc/build-profile.json5 | 2 +- .../ArkTSDistributedCalc/entry/src/main/module.json5 | 5 ++--- .../ArkTSDistributedCalc/entry/src/ohosTest/module.json5 | 5 ++--- .../ArkTSDistributedMusicPlayer/README_zh.md | 2 +- .../ArkTSDistributedMusicPlayer/build-profile.json5 | 2 +- .../entry/src/main/module.json5 | 9 ++++----- .../entry/src/ohosTest/module.json5 | 5 ++--- 13 files changed, 23 insertions(+), 28 deletions(-) diff --git a/code/Solutions/InputMethod/KikaInput/README_zh.md b/code/Solutions/InputMethod/KikaInput/README_zh.md index c8db50ff69..8392651f03 100644 --- a/code/Solutions/InputMethod/KikaInput/README_zh.md +++ b/code/Solutions/InputMethod/KikaInput/README_zh.md @@ -101,9 +101,9 @@ kikainput是一个轻量级的输入法应用,支持在运行OpenHarmony OS的 1.本示例仅支持在标准系统上运行。 -2.本示例为Stage模型,从API version 9开始支持。 +2.本示例为Stage模型,从API version 14开始支持。 -3.本示例已适配API version 14版本SDK,SDK版本号(API Version 14 Release),镜像版本号(5.0.2Release)。 +3.本示例已适配API version 20版本SDK,SDK版本号(API Version 20 Release),镜像版本号(6.0.0Release)。 4.本示例需要使用DevEco Studio 版本号(5.0.2Release)及以上版本才可编译运行。 diff --git a/code/Solutions/InputMethod/KikaInput/build-profile.json5 b/code/Solutions/InputMethod/KikaInput/build-profile.json5 index ef1a3fa1da..1fbbed1aa4 100644 --- a/code/Solutions/InputMethod/KikaInput/build-profile.json5 +++ b/code/Solutions/InputMethod/KikaInput/build-profile.json5 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2022 Huawei Device Co., Ltd. + * Copyright (c) 2022-2025 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at @@ -19,7 +19,7 @@ { "name": "default", "signingConfig": "default", - "compileSdkVersion": 14, + "compileSdkVersion": 20, "compatibleSdkVersion": 14, "runtimeOS": "OpenHarmony" } diff --git a/code/Solutions/Tools/ArkTSClock/README_zh.md b/code/Solutions/Tools/ArkTSClock/README_zh.md index 2e82eb8f65..75baad112b 100644 --- a/code/Solutions/Tools/ArkTSClock/README_zh.md +++ b/code/Solutions/Tools/ArkTSClock/README_zh.md @@ -47,7 +47,7 @@ entry/src/main/ets/ 1.本示例仅支持标准系统上运行。 -2.本示例已适配API14版本SDK,SDK版本号(API Version 14 Release),镜像版本号(5.0.2 Release)。 +2.本示例已适配API20版本SDK,SDK版本号(API Version 20 Release),镜像版本号(6.0.0 Release)。 3.本示例需要使用DevEco Studio 版本号(5.0.2 Release)及以上版本才可编译运行。 diff --git a/code/Solutions/Tools/ArkTSClock/build-profile.json5 b/code/Solutions/Tools/ArkTSClock/build-profile.json5 index 12530f47d2..749e264c34 100644 --- a/code/Solutions/Tools/ArkTSClock/build-profile.json5 +++ b/code/Solutions/Tools/ArkTSClock/build-profile.json5 @@ -20,7 +20,7 @@ { "name": "default", "signingConfig": "default", - "compileSdkVersion": 18, + "compileSdkVersion": 20, "compatibleSdkVersion": 14, "runtimeOS": "OpenHarmony" } diff --git a/code/Solutions/Tools/ArkTSClock/entry/src/main/module.json5 b/code/Solutions/Tools/ArkTSClock/entry/src/main/module.json5 index 22b8ee7510..55afc7eeb7 100644 --- a/code/Solutions/Tools/ArkTSClock/entry/src/main/module.json5 +++ b/code/Solutions/Tools/ArkTSClock/entry/src/main/module.json5 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2022 Huawei Device Co., Ltd. + * Copyright (c) 2022-2025 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at @@ -17,7 +17,7 @@ "module": { "name": "entry", "type": "entry", - "srcEntrance": "./ets/Application/AbilityStage.ts", + "srcEntry": "./ets/Application/AbilityStage.ts", "description": "$string:entry_desc", "mainElement": "MainAbility", "deviceTypes": [ @@ -27,7 +27,6 @@ "deliveryWithInstall": true, "installationFree": false, "pages": "$profile:main_pages", - "uiSyntax": "ets", "abilities": [ { "name": "MainAbility", @@ -35,7 +34,7 @@ "description": "$string:MainAbility_desc", "icon": "$media:icon", "label": "$string:MainAbility_label", - "visible": true, + "exported": true, "skills": [ { "entities": [ diff --git a/code/SuperFeature/DistributedAppDev/ArkTSDistributedCalc/README_zh.md b/code/SuperFeature/DistributedAppDev/ArkTSDistributedCalc/README_zh.md index 715930fe52..6507045430 100644 --- a/code/SuperFeature/DistributedAppDev/ArkTSDistributedCalc/README_zh.md +++ b/code/SuperFeature/DistributedAppDev/ArkTSDistributedCalc/README_zh.md @@ -96,7 +96,7 @@ entry/src/main/ets/ 2.分布式计算功能使用的前提是分布式组网。 -3.本示例已适配API10版本SDK,SDK版本号(API Version 14 Release),镜像版本号(5.0.2 Release)。 +3.本示例已适配API20版本SDK,SDK版本号(API Version 20 Release),镜像版本号(6.0.0 Release)。 4.本示例需要使用DevEco Studio 版本号(5.0.2 Release)及以上版本才可编译运行。 diff --git a/code/SuperFeature/DistributedAppDev/ArkTSDistributedCalc/build-profile.json5 b/code/SuperFeature/DistributedAppDev/ArkTSDistributedCalc/build-profile.json5 index 12530f47d2..749e264c34 100644 --- a/code/SuperFeature/DistributedAppDev/ArkTSDistributedCalc/build-profile.json5 +++ b/code/SuperFeature/DistributedAppDev/ArkTSDistributedCalc/build-profile.json5 @@ -20,7 +20,7 @@ { "name": "default", "signingConfig": "default", - "compileSdkVersion": 18, + "compileSdkVersion": 20, "compatibleSdkVersion": 14, "runtimeOS": "OpenHarmony" } diff --git a/code/SuperFeature/DistributedAppDev/ArkTSDistributedCalc/entry/src/main/module.json5 b/code/SuperFeature/DistributedAppDev/ArkTSDistributedCalc/entry/src/main/module.json5 index 4b92c7c12f..87b47d174b 100644 --- a/code/SuperFeature/DistributedAppDev/ArkTSDistributedCalc/entry/src/main/module.json5 +++ b/code/SuperFeature/DistributedAppDev/ArkTSDistributedCalc/entry/src/main/module.json5 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2022 Huawei Device Co., Ltd. + * Copyright (c) 2022-2025 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at @@ -26,7 +26,6 @@ "deliveryWithInstall": true, "installationFree": false, "pages": "$profile:main_pages", - "uiSyntax": "ets", "abilities": [ { "name": "MainAbility", @@ -36,7 +35,7 @@ "label": "$string:MainAbility_label", "startWindowIcon": "$media:icon", "startWindowBackground": "$color:white", - "visible": true, + "exported": true, "launchType": "singleton", "skills": [ { diff --git a/code/SuperFeature/DistributedAppDev/ArkTSDistributedCalc/entry/src/ohosTest/module.json5 b/code/SuperFeature/DistributedAppDev/ArkTSDistributedCalc/entry/src/ohosTest/module.json5 index d6f6522743..5aededfa25 100644 --- a/code/SuperFeature/DistributedAppDev/ArkTSDistributedCalc/entry/src/ohosTest/module.json5 +++ b/code/SuperFeature/DistributedAppDev/ArkTSDistributedCalc/entry/src/ohosTest/module.json5 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2022 Huawei Device Co., Ltd. + * Copyright (c) 2022-2025 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at @@ -27,7 +27,6 @@ "deliveryWithInstall": true, "installationFree": false, "pages": "$profile:test_pages", - "uiSyntax": "ets", "abilities": [ { "name": "TestAbility", @@ -37,7 +36,7 @@ "label": "$string:TestAbility_label", "startWindowIcon": "$media:icon", "startWindowBackground": "$color:white", - "visible": true, + "exported": true, "skills": [ { "actions": [ diff --git a/code/SuperFeature/DistributedAppDev/ArkTSDistributedMusicPlayer/README_zh.md b/code/SuperFeature/DistributedAppDev/ArkTSDistributedMusicPlayer/README_zh.md index 6768bcded1..ee63b3937e 100644 --- a/code/SuperFeature/DistributedAppDev/ArkTSDistributedMusicPlayer/README_zh.md +++ b/code/SuperFeature/DistributedAppDev/ArkTSDistributedMusicPlayer/README_zh.md @@ -96,7 +96,7 @@ deviceManager.createDeviceManager('ohos.samples.distributedmusicplayer') [源码 2.本示例完整功能必须双端授予允许使用分布式协同能力,否则在只有发起端授权条件下,发起端会弹框提示错误。 -3.本示例为stage模型,已适配API version 14版本SDK,SDK版本号(API Version 14 Release),镜像版本号(5.0.2Release)。 +3.本示例为stage模型,已适配API version 20版本SDK,SDK版本号(API Version 20 Release),镜像版本号(6.0.0Release)。 4.本示例需要使用DevEco Studio 版本号(5.0.2Release)才可编译运行。 diff --git a/code/SuperFeature/DistributedAppDev/ArkTSDistributedMusicPlayer/build-profile.json5 b/code/SuperFeature/DistributedAppDev/ArkTSDistributedMusicPlayer/build-profile.json5 index 8603cd98b2..e2b92e3b20 100644 --- a/code/SuperFeature/DistributedAppDev/ArkTSDistributedMusicPlayer/build-profile.json5 +++ b/code/SuperFeature/DistributedAppDev/ArkTSDistributedMusicPlayer/build-profile.json5 @@ -20,7 +20,7 @@ { "name": "default", "signingConfig": "default", - "compileSdkVersion": 18, + "compileSdkVersion": 20, "compatibleSdkVersion": 14, "runtimeOS": "OpenHarmony" } diff --git a/code/SuperFeature/DistributedAppDev/ArkTSDistributedMusicPlayer/entry/src/main/module.json5 b/code/SuperFeature/DistributedAppDev/ArkTSDistributedMusicPlayer/entry/src/main/module.json5 index f539b1e335..3ac2602df7 100644 --- a/code/SuperFeature/DistributedAppDev/ArkTSDistributedMusicPlayer/entry/src/main/module.json5 +++ b/code/SuperFeature/DistributedAppDev/ArkTSDistributedMusicPlayer/entry/src/main/module.json5 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2022-2024 Huawei Device Co., Ltd. + * Copyright (c) 2022-2025 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at @@ -17,7 +17,7 @@ "module": { "name": "entry", "type": "entry", - "srcEntrance": "./ets/Application/AbilityStage.ts", + "srcEntry": "./ets/Application/AbilityStage.ts", "description": "$string:entry_desc", "mainElement": "MainAbility", "deviceTypes": [ @@ -27,7 +27,6 @@ "deliveryWithInstall": true, "installationFree": false, "pages": "$profile:main_pages", - "uiSyntax": "ets", "abilities": [ { "name": "ohos.samples.distributedmusicplayer.MainAbility", @@ -35,7 +34,7 @@ "description": "$string:MainAbility_desc", "icon": "$media:icon", "label": "$string:MainAbility_label", - "visible": true, + "exported": true, "skills": [ { "entities": [ @@ -53,7 +52,7 @@ "extensionAbilities": [ { "name": "ServiceAbility", - "srcEntrance": "./ets/serviceability/ServiceAbility.ts", + "srcEntry": "./ets/serviceability/ServiceAbility.ts", "label": "$string:ServiceAbility_label", "description": "$string:ServiceAbility_desc", "type": "service" diff --git a/code/SuperFeature/DistributedAppDev/ArkTSDistributedMusicPlayer/entry/src/ohosTest/module.json5 b/code/SuperFeature/DistributedAppDev/ArkTSDistributedMusicPlayer/entry/src/ohosTest/module.json5 index 036b674a8e..c04b498177 100644 --- a/code/SuperFeature/DistributedAppDev/ArkTSDistributedMusicPlayer/entry/src/ohosTest/module.json5 +++ b/code/SuperFeature/DistributedAppDev/ArkTSDistributedMusicPlayer/entry/src/ohosTest/module.json5 @@ -17,7 +17,7 @@ "module": { "name": "entry_test", "type": "feature", - "srcEntrance": "./ets/testability/TestAbility.ets", + "srcEntry": "./ets/testability/TestAbility.ets", "description": "$string:entry_test_desc", "mainElement": "TestAbility", "deviceTypes": [ @@ -27,7 +27,6 @@ "deliveryWithInstall": true, "installationFree": false, "pages": "$profile:test_pages", - "uiSyntax": "ets", "abilities": [ { "name": "TestAbility", @@ -37,7 +36,7 @@ "label": "$string:TestAbility_label", "startWindowIcon": "$media:icon", "startWindowBackground": "$color:white", - "visible": true, + "exported": true, "skills": [ { "actions": [ -- Gitee