diff --git a/README.en.md b/README.en.md index 1a1b36cf95a3fe6bcc3547485f22589f1128725e..ebdedb801cd258b1858f147e7deb42dac3b486e9 100644 --- a/README.en.md +++ b/README.en.md @@ -72,8 +72,8 @@ N/A 1. The sample is only supported on Huawei phones with standard systems. -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 8fbf4dc3aade5e40260e177d70f5f45544f6c134..d4b19ad1937cc5378c5cd5f59c9b8ca5b7778873 100644 --- a/README.md +++ b/README.md @@ -72,8 +72,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 e8de1a3cb6ba71c60762653ebac9cfdc1cfa0132..9e8e391c298108db76d6ead89a96f0f83646cafe 100644 --- a/build-profile.json5 +++ b/build-profile.json5 @@ -5,8 +5,9 @@ { "name": "default", "signingConfig": "default", - "compatibleSdkVersion": "5.0.4(16)", - "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 808380f3b726e2036a3d6cf5fb9b0fd9513a8215..3167e54d1ff3a0aaa0cdcf4319789de8e3f3c350 100644 --- a/entry/build-profile.json5 +++ b/entry/build-profile.json5 @@ -2,21 +2,6 @@ "apiType": "stageMode", "buildOption": { }, - "buildOptionSet": [ - { - "name": "release", - "arkOptions": { - "obfuscation": { - "ruleOptions": { - "enable": true, - "files": [ - "./obfuscation-rules.txt" - ] - } - } - } - }, - ], "targets": [ { "name": "default" diff --git a/entry/src/main/module.json5 b/entry/src/main/module.json5 index de78b5cae3b2ba99788048311e5d0cd34d075039..5f6f8e183e9195d8178183502bf018e80c02f9a1 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,