diff --git a/README.en.md b/README.en.md index 749ae0050470276db915d12765cd544663bc880f..6930bf0cf141a9f401f147d36128e79689901597 100644 --- a/README.en.md +++ b/README.en.md @@ -47,8 +47,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.0 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 5.0.0 Release or later. +3. The DevEco Studio version must be DevEco Studio 5.0.5 Release or later. -4. The HarmonyOS SDK version must be HarmonyOS 5.0.0 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 167ec62b913023cc54badb77c2a0a4e0e65e712f..dc790e000dfe74a7ce5bb6ce4ef31d8e4574c484 100644 --- a/README.md +++ b/README.md @@ -47,8 +47,8 @@ 1.本示例仅支持标准系统上运行,支持设备:华为手机。 -2.HarmonyOS系统:HarmonyOS 5.0.0 Release及以上。 +2.HarmonyOS系统:HarmonyOS 5.0.5 Release及以上。 -3.DevEco Studio版本:DevEco Studio 5.0.0 Release及以上。 +3.DevEco Studio版本:DevEco Studio 5.0.5 Release及以上。 -4.HarmonyOS SDK版本:HarmonyOS 5.0.0 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 c033ce4278fb0641d84107c3c134047ac487368e..b2ca56e35558b0dc7ca91989b68a1ea65b49a7a2 100644 --- a/build-profile.json5 +++ b/build-profile.json5 @@ -5,7 +5,8 @@ { "name": "default", "signingConfig": "default", - "compatibleSdkVersion": "5.0.0(12)", + "compatibleSdkVersion": "5.0.5(17)", + "targetSdkVersion": "5.0.5(17)", "runtimeOS": "HarmonyOS", } ], diff --git a/entry/obfuscation-rules.txt b/entry/obfuscation-rules.txt index 69c4d6a8a5531548e4886fa766090c5c157a87d9..fdbb5b9852d7dd5f39bddaeb21ab5ee1f3346749 100644 --- a/entry/obfuscation-rules.txt +++ b/entry/obfuscation-rules.txt @@ -15,4 +15,8 @@ # Keep options: # -keep-property-name: specifies property names that you want to keep -# -keep-global-name: specifies names that you want to keep in the global scope \ No newline at end of file +# -keep-global-name: specifies names that you want to keep in the global scope +-enable-property-obfuscation +-enable-toplevel-obfuscation +-enable-filename-obfuscation +-enable-export-obfuscation \ No newline at end of file diff --git a/entry/src/main/module.json5 b/entry/src/main/module.json5 index b8ecc36aae5ad1f7508322140162cedb35285047..5b56309935d3368e307c51bd77b0746203dd2061 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,