From 94d378de524e4508c123d769d9b2bccf3ce48060 Mon Sep 17 00:00:00 2001 From: yuandongping Date: Mon, 9 Jun 2025 15:59:02 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BA=94=E7=94=A8=E5=8D=87=E7=BA=A7API20?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: yuandongping --- README_zh.md | 2 +- build-profile.json5 | 2 +- product/default/src/main/module.json5 | 5 ++--- 3 files changed, 4 insertions(+), 5 deletions(-) diff --git a/README_zh.md b/README_zh.md index 9eedf67..2114545 100644 --- a/README_zh.md +++ b/README_zh.md @@ -140,7 +140,7 @@ hilog | grep Label 1.本示例仅支持标准系统上运行,支持设备RK3568。 -2.本示例已适配API14版本SDK,SDK版本号(API Version 14 5.0.2),镜像版本号(5.0.2)。 +2.本示例已适配API20版本SDK,SDK版本号(API Version 20 6.0.0),镜像版本号(6.0.0)。 3.本示例需要使用DevEco Studio 5.0.2 Release版本才可编译运行。 diff --git a/build-profile.json5 b/build-profile.json5 index 1adbdc0..6276a7d 100644 --- a/build-profile.json5 +++ b/build-profile.json5 @@ -20,7 +20,7 @@ { "name": "default", "signingConfig": "default", - "compileSdkVersion": 14, + "compileSdkVersion": 20, "compatibleSdkVersion": 14, "runtimeOS": "OpenHarmony" } diff --git a/product/default/src/main/module.json5 b/product/default/src/main/module.json5 index 7ca6009..fe1e0ca 100644 --- a/product/default/src/main/module.json5 +++ b/product/default/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 @@ -86,7 +86,6 @@ "deliveryWithInstall": true, "installationFree": false, "pages": "$profile:main_pages", - "uiSyntax": "ets", "metadata": [ { "name": "ArkTSPartialUpdate", @@ -100,7 +99,7 @@ "description": "$string:entry_MainAbility", "icon": "$media:note", "label": "$string:entry_MainAbility", - "visible": true, + "exported": true, "continuable": true, "skills": [ { -- Gitee