From 4b2488ad9832d06614f2429c2d1deff00e0430f2 Mon Sep 17 00:00:00 2001 From: zhang-quanchao Date: Mon, 17 Nov 2025 17:46:06 +0800 Subject: [PATCH] fix project Signed-off-by: zhang-quanchao --- .../AnimationNDK/entry/build-profile.json5 | 1 - .../entry/oh-package.json5 | 25 +++++++++++++++++++ .../entry/oh-package.json5 | 25 +++++++++++++++++++ .../ThingViewModel.ets | 0 .../TodoListViewModel.ets | 0 ArkUIKit/CustomCanvas/build-profile.json5 | 23 ++++------------- .../build-profile.json5 | 13 +++++----- ArkUIKit/InterAction/build-profile.json5 | 8 +++--- ArkUIKit/NDKWaterFlowSample/oh-package.json5 | 24 ++++++++++++++++++ .../entry/build-profile.json5 | 1 - ArkUIKit/Navigation/entry/oh-package.json5 | 22 ++++++++++++++++ .../NdkNodeQueryOperate/build-profile.json5 | 5 ++-- 12 files changed, 114 insertions(+), 33 deletions(-) create mode 100644 ArkUIKit/ArkTSUserAttributeUpdater/entry/oh-package.json5 create mode 100644 ArkUIKit/ArkTSUserPlaceHolder/entry/oh-package.json5 rename ArkUIKit/ArktsMvvmSample/entry/src/main/ets/{viewModel => viewmodel}/ThingViewModel.ets (100%) rename ArkUIKit/ArktsMvvmSample/entry/src/main/ets/{viewModel => viewmodel}/TodoListViewModel.ets (100%) create mode 100644 ArkUIKit/NDKWaterFlowSample/oh-package.json5 create mode 100644 ArkUIKit/Navigation/entry/oh-package.json5 diff --git a/ArkUIKit/AnimationNDK/entry/build-profile.json5 b/ArkUIKit/AnimationNDK/entry/build-profile.json5 index 8190fe544..33e618d0d 100644 --- a/ArkUIKit/AnimationNDK/entry/build-profile.json5 +++ b/ArkUIKit/AnimationNDK/entry/build-profile.json5 @@ -20,7 +20,6 @@ "arguments": "", "cppFlags": "", "abiFilters": [ - "armeabi-v7a", "arm64-v8a","x86_64", ] } diff --git a/ArkUIKit/ArkTSUserAttributeUpdater/entry/oh-package.json5 b/ArkUIKit/ArkTSUserAttributeUpdater/entry/oh-package.json5 new file mode 100644 index 000000000..4bf3e2a9b --- /dev/null +++ b/ArkUIKit/ArkTSUserAttributeUpdater/entry/oh-package.json5 @@ -0,0 +1,25 @@ +/* + * Copyright (c) 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +{ + "name": "entry", + "version": "1.0.0", + "description": "Please describe the basic information.", + "main": "", + "author": "", + "license": "", + "dependencies": {} +} + diff --git a/ArkUIKit/ArkTSUserPlaceHolder/entry/oh-package.json5 b/ArkUIKit/ArkTSUserPlaceHolder/entry/oh-package.json5 new file mode 100644 index 000000000..4bf3e2a9b --- /dev/null +++ b/ArkUIKit/ArkTSUserPlaceHolder/entry/oh-package.json5 @@ -0,0 +1,25 @@ +/* + * Copyright (c) 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +{ + "name": "entry", + "version": "1.0.0", + "description": "Please describe the basic information.", + "main": "", + "author": "", + "license": "", + "dependencies": {} +} + diff --git a/ArkUIKit/ArktsMvvmSample/entry/src/main/ets/viewModel/ThingViewModel.ets b/ArkUIKit/ArktsMvvmSample/entry/src/main/ets/viewmodel/ThingViewModel.ets similarity index 100% rename from ArkUIKit/ArktsMvvmSample/entry/src/main/ets/viewModel/ThingViewModel.ets rename to ArkUIKit/ArktsMvvmSample/entry/src/main/ets/viewmodel/ThingViewModel.ets diff --git a/ArkUIKit/ArktsMvvmSample/entry/src/main/ets/viewModel/TodoListViewModel.ets b/ArkUIKit/ArktsMvvmSample/entry/src/main/ets/viewmodel/TodoListViewModel.ets similarity index 100% rename from ArkUIKit/ArktsMvvmSample/entry/src/main/ets/viewModel/TodoListViewModel.ets rename to ArkUIKit/ArktsMvvmSample/entry/src/main/ets/viewmodel/TodoListViewModel.ets diff --git a/ArkUIKit/CustomCanvas/build-profile.json5 b/ArkUIKit/CustomCanvas/build-profile.json5 index 33f1cd005..3ca5a93fb 100644 --- a/ArkUIKit/CustomCanvas/build-profile.json5 +++ b/ArkUIKit/CustomCanvas/build-profile.json5 @@ -14,28 +14,15 @@ */ { "app": { - "signingConfigs": [ - { - "name": "default", - "material": { - "certpath": "C:/Users/lenovo/.ohos/config/openharmony/default_CustomCanvas_tHIi-_jw_CVrqsWnIPOBaJG4CiRbXlPCJJkwAyED8E8=.cer", - "keyAlias": "debugKey", - "keyPassword": "0000001BFF06B0D7B47755EA534C34411E7688EE812F8CDCE51025363515712EE6B87F5C756151FF5463A4", - "profile": "C:/Users/lenovo/.ohos/config/openharmony/default_CustomCanvas_tHIi-_jw_CVrqsWnIPOBaJG4CiRbXlPCJJkwAyED8E8=.p7b", - "signAlg": "SHA256withECDSA", - "storeFile": "C:/Users/lenovo/.ohos/config/openharmony/default_CustomCanvas_tHIi-_jw_CVrqsWnIPOBaJG4CiRbXlPCJJkwAyED8E8=.p12", - "storePassword": "0000001B508592F224F6A5771EEE481167CE62E4D208964AAB54CD4F75529E7F63F62C6BDF8D2AAED8D674" - } - } - ], + "signingConfigs": [], "products": [ { "name": "default", "signingConfig": "default", - "compileSdkVersion": 22, - "compatibleSdkVersion": 20, - "targetSdkVersion": 20, - "runtimeOS": "OpenHarmony", + "compileSdkVersion": "6.0.0(20)", + "compatibleSdkVersion": "6.0.0(20)", + "targetSdkVersion": "6.0.0(20)", + "runtimeOS": "HarmonyOS", "buildOption": { "strictMode": { "caseSensitiveCheck": true, diff --git a/ArkUIKit/DrawableDescriptorSample/build-profile.json5 b/ArkUIKit/DrawableDescriptorSample/build-profile.json5 index 09882cab9..5438b5af2 100644 --- a/ArkUIKit/DrawableDescriptorSample/build-profile.json5 +++ b/ArkUIKit/DrawableDescriptorSample/build-profile.json5 @@ -18,10 +18,10 @@ { "name": "default", "signingConfig": "default", - "compileSdkVersion": 20, - "compatibleSdkVersion": 20, - "targetSdkVersion": 20, - "runtimeOS": "OpenHarmony", + "compileSdkVersion": "6.0.0(20)", + "compatibleSdkVersion": "6.0.0(20)", + "targetSdkVersion": "6.0.0(20)", + "runtimeOS": "HarmonyOS", "buildOption": { "strictMode": { "caseSensitiveCheck": true, @@ -32,12 +32,13 @@ ], "buildModeSet": [ { - "name": "debug", + "name": "debug" }, { "name": "release" } - ] + ], + "signingConfigs": [] }, "modules": [ { diff --git a/ArkUIKit/InterAction/build-profile.json5 b/ArkUIKit/InterAction/build-profile.json5 index be9d10f8e..3ca5a93fb 100644 --- a/ArkUIKit/InterAction/build-profile.json5 +++ b/ArkUIKit/InterAction/build-profile.json5 @@ -19,10 +19,10 @@ { "name": "default", "signingConfig": "default", - "compileSdkVersion": 20, - "compatibleSdkVersion": 20, - "targetSdkVersion": 20, - "runtimeOS": "OpenHarmony", + "compileSdkVersion": "6.0.0(20)", + "compatibleSdkVersion": "6.0.0(20)", + "targetSdkVersion": "6.0.0(20)", + "runtimeOS": "HarmonyOS", "buildOption": { "strictMode": { "caseSensitiveCheck": true, diff --git a/ArkUIKit/NDKWaterFlowSample/oh-package.json5 b/ArkUIKit/NDKWaterFlowSample/oh-package.json5 new file mode 100644 index 000000000..4c99e47d4 --- /dev/null +++ b/ArkUIKit/NDKWaterFlowSample/oh-package.json5 @@ -0,0 +1,24 @@ +/* + * Copyright (c) 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +{ + "modelVersion": "6.0.0", + "description": "Please describe the basic information.", + "dependencies": { + }, + "devDependencies": { + "@ohos/hypium": "1.0.18", + "@ohos/hamock": "1.0.0" + } +} \ No newline at end of file diff --git a/ArkUIKit/NativeXComponentSample/entry/build-profile.json5 b/ArkUIKit/NativeXComponentSample/entry/build-profile.json5 index d9016f702..02c469472 100644 --- a/ArkUIKit/NativeXComponentSample/entry/build-profile.json5 +++ b/ArkUIKit/NativeXComponentSample/entry/build-profile.json5 @@ -50,7 +50,6 @@ "targets": [ { "name": "default", - "runtimeOS": "OpenHarmony" }, { "name": "ohosTest", diff --git a/ArkUIKit/Navigation/entry/oh-package.json5 b/ArkUIKit/Navigation/entry/oh-package.json5 new file mode 100644 index 000000000..dbe67da96 --- /dev/null +++ b/ArkUIKit/Navigation/entry/oh-package.json5 @@ -0,0 +1,22 @@ +/* + * Copyright (c) 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +{ + "name": "entry", + "version": "1.0.0", + "description": "Please describe the basic information.", + "main": "", + "author": "", + "license": "", +} \ No newline at end of file diff --git a/ArkUIKit/NdkNodeQueryOperate/build-profile.json5 b/ArkUIKit/NdkNodeQueryOperate/build-profile.json5 index 985043809..1cc227b79 100644 --- a/ArkUIKit/NdkNodeQueryOperate/build-profile.json5 +++ b/ArkUIKit/NdkNodeQueryOperate/build-profile.json5 @@ -20,9 +20,8 @@ { "name": "default", "signingConfig": "default", - "compileSdkVersion": "6.0.0(20)", - "compatibleSdkVersion": "6.0.0(20)", - "targetSdkVersion": "6.0.0(20)", + "compatibleSdkVersion": "6.0.1(21)", + "targetSdkVersion": "6.0.1(21)", "runtimeOS": "HarmonyOS", "buildOption": { "strictMode": { -- Gitee