From 4a657d9d1276fc10f0296ac305babc6d29a142c7 Mon Sep 17 00:00:00 2001 From: lloyd <353627866@qq.com> Date: Tue, 19 Aug 2025 18:00:41 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E5=AE=9E=E7=8E=B0Scroll=E7=BB=84?= =?UTF-8?q?=E4=BB=B6=E5=B5=8C=E5=A5=97=E6=BB=91=E5=8A=A8=E7=9A=84=E6=95=88?= =?UTF-8?q?=E6=9E=9C=E3=80=91=E6=9B=B4=E6=96=B0=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.en.md | 6 +++--- README.md | 6 +++--- build-profile.json5 | 5 +++-- entry/build-profile.json5 | 18 ------------------ entry/src/main/module.json5 | 4 +--- oh-package.json5 | 2 -- 6 files changed, 10 insertions(+), 31 deletions(-) diff --git a/README.en.md b/README.en.md index 0dd444e..217e3da 100644 --- a/README.en.md +++ b/README.en.md @@ -43,8 +43,8 @@ N/A 1. The sample app is supported only on Huawei phones running the standard system. -2. The HarmonyOS version must be HarmonyOS 5.0.4 Release or later. +2. The HarmonyOS version must be HarmonyOS 5.0.5 Release or later. -3. The DevEco Studio version must be DevEco Studio HarmonyOS 5.0.4 Release or later. +3. The DevEco Studio version must be DevEco Studio HarmonyOS 5.0.5 Release or later. -4. The HarmonyOS SDK version must be HarmonyOS 5.0.4 Release SDK or later. +4. The HarmonyOS SDK version must be HarmonyOS 5.0.5 Release SDK or later. diff --git a/README.md b/README.md index e3fe595..a7c4304 100644 --- a/README.md +++ b/README.md @@ -43,8 +43,8 @@ 1. 本示例仅支持标准系统上运行,支持设备:华为手机。 -2. HarmonyOS系统:HarmonyOS 5.0.4 Release及以上。 +2. HarmonyOS系统:HarmonyOS 5.0.5 Release及以上。 -3. DevEco Studio版本:DevEco Studio 5.0.4 Release及以上。 +3. DevEco Studio版本:DevEco Studio 5.0.5 Release及以上。 -4. HarmonyOS SDK版本:HarmonyOS 5.0.4 Release SDK及以上。 \ No newline at end of file +4. HarmonyOS SDK版本:HarmonyOS 5.0.5 Release SDK及以上。 \ No newline at end of file diff --git a/build-profile.json5 b/build-profile.json5 index c033ce4..9e8e391 100644 --- a/build-profile.json5 +++ b/build-profile.json5 @@ -5,8 +5,9 @@ { "name": "default", "signingConfig": "default", - "compatibleSdkVersion": "5.0.0(12)", - "runtimeOS": "HarmonyOS", + "compatibleSdkVersion": "5.0.5(17)", + "targetSdkVersion": "5.0.5(17)", + "runtimeOS": "HarmonyOS" } ], "buildModeSet": [ diff --git a/entry/build-profile.json5 b/entry/build-profile.json5 index b695582..3167e54 100644 --- a/entry/build-profile.json5 +++ b/entry/build-profile.json5 @@ -2,27 +2,9 @@ "apiType": "stageMode", "buildOption": { }, - "buildOptionSet": [ - { - "name": "release", - "arkOptions": { - "obfuscation": { - "ruleOptions": { - "enable": true, - "files": [ - "./obfuscation-rules.txt" - ] - } - } - } - }, - ], "targets": [ { "name": "default" - }, - { - "name": "ohosTest", } ] } \ No newline at end of file diff --git a/entry/src/main/module.json5 b/entry/src/main/module.json5 index 6c07d9d..8a7a160 100644 --- a/entry/src/main/module.json5 +++ b/entry/src/main/module.json5 @@ -5,9 +5,7 @@ "description": "$string:module_desc", "mainElement": "EntryAbility", "deviceTypes": [ - "phone", - "tablet", - "2in1" + "phone" ], "deliveryWithInstall": true, "installationFree": false, diff --git a/oh-package.json5 b/oh-package.json5 index 14fda65..da35939 100644 --- a/oh-package.json5 +++ b/oh-package.json5 @@ -9,7 +9,5 @@ "dependencies": { }, "devDependencies": { - "@ohos/hypium": "1.0.15", - "@ohos/hamock": "1.0.0" } } \ No newline at end of file -- Gitee