From 1bef36c445d659cf7f7308ed5041d38307debc72 Mon Sep 17 00:00:00 2001 From: yaofangyong <2385605052@qq.com> Date: Thu, 23 May 2024 14:29:45 +0800 Subject: [PATCH 1/2] =?UTF-8?q?x86=E9=80=82=E9=85=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: yaofangyong <2385605052@qq.com> --- build-profile.json5 | 4 +++- entry/src/main/module.json5 | 3 +-- entry/src/ohosTest/module.json5 | 2 +- gpu_transform/build-profile.json5 | 2 +- gpu_transform/src/main/module.json5 | 3 +-- library/src/main/module.json5 | 3 +-- sharedlibrary/src/main/module.json5 | 3 +-- sharedlibrary2/src/main/module.json5 | 3 +-- 8 files changed, 10 insertions(+), 13 deletions(-) diff --git a/build-profile.json5 b/build-profile.json5 index 79fdb01..fd20002 100644 --- a/build-profile.json5 +++ b/build-profile.json5 @@ -4,8 +4,10 @@ { "name": "default", "signingConfig": "default", + "compatibleSdkVersion": 12, "compileSdkVersion": 12, - "compatibleSdkVersion": 12 + "targetSdkVersion": 12, + "runtimeOS": "OpenHarmony" } ], "buildModeSet": [ diff --git a/entry/src/main/module.json5 b/entry/src/main/module.json5 index d5bfffb..5ab0042 100644 --- a/entry/src/main/module.json5 +++ b/entry/src/main/module.json5 @@ -6,8 +6,7 @@ "description": "$string:entry_desc", "mainElement": "MainAbility", "deviceTypes": [ - "default", - "tablet" + "default", "tablet", "phone", "tv", "wearable", "car", "2in1" ], "deliveryWithInstall": true, "installationFree": false, diff --git a/entry/src/ohosTest/module.json5 b/entry/src/ohosTest/module.json5 index 3054622..71f4334 100644 --- a/entry/src/ohosTest/module.json5 +++ b/entry/src/ohosTest/module.json5 @@ -5,7 +5,7 @@ "srcEntry": "./ets/testability/TestAbility.ets", "description": "$string:module_test_desc", "mainElement": "TestAbility", - "deviceTypes": ["default"], + "deviceTypes": ["default", "tablet", "phone", "tv", "wearable", "car", "2in1"], "deliveryWithInstall": true, "installationFree": false, "pages": "$profile:test_pages", diff --git a/gpu_transform/build-profile.json5 b/gpu_transform/build-profile.json5 index f4b0a30..7334e7b 100644 --- a/gpu_transform/build-profile.json5 +++ b/gpu_transform/build-profile.json5 @@ -5,7 +5,7 @@ "path": "./src/main/cpp/CMakeLists.txt", "arguments": " -DCMAKE_BUILD_TYPE=Release", "abiFilters": [ - "armeabi-v7a", +// "armeabi-v7a", "arm64-v8a", "x86_64" ], diff --git a/gpu_transform/src/main/module.json5 b/gpu_transform/src/main/module.json5 index ad730e4..7e62ac0 100644 --- a/gpu_transform/src/main/module.json5 +++ b/gpu_transform/src/main/module.json5 @@ -3,8 +3,7 @@ "name": "gpu_transform", "type": "har", "deviceTypes": [ - "default", - "tablet" + "default", "tablet", "phone", "tv", "wearable", "car", "2in1" ] } } diff --git a/library/src/main/module.json5 b/library/src/main/module.json5 index 7274415..a33206a 100644 --- a/library/src/main/module.json5 +++ b/library/src/main/module.json5 @@ -3,8 +3,7 @@ "name": "library", "type": "har", "deviceTypes": [ - "default", - "tablet" + "default", "tablet", "phone", "tv", "wearable", "car", "2in1" ], "uiSyntax": "ets" } diff --git a/sharedlibrary/src/main/module.json5 b/sharedlibrary/src/main/module.json5 index 7e37699..72a3fae 100644 --- a/sharedlibrary/src/main/module.json5 +++ b/sharedlibrary/src/main/module.json5 @@ -4,8 +4,7 @@ "type": "shared", "description": "$string:shared_desc", "deviceTypes": [ - "default", - "tablet" + "default", "tablet", "phone", "tv", "wearable", "car", "2in1" ], "deliveryWithInstall": true, "pages": "$profile:main_pages" diff --git a/sharedlibrary2/src/main/module.json5 b/sharedlibrary2/src/main/module.json5 index ff37b1a..b84b1fc 100644 --- a/sharedlibrary2/src/main/module.json5 +++ b/sharedlibrary2/src/main/module.json5 @@ -4,8 +4,7 @@ "type": "shared", "description": "$string:shared_desc", "deviceTypes": [ - "default", - "tablet" + "default", "tablet", "phone", "tv", "wearable", "car", "2in1" ], "deliveryWithInstall": true, "pages": "$profile:main_pages" From c68791ada7affd7e597dae3286b8a0df8fc4ecfb Mon Sep 17 00:00:00 2001 From: yaofangyong <2385605052@qq.com> Date: Tue, 25 Jun 2024 08:22:04 +0000 Subject: [PATCH 2/2] update README.md. Signed-off-by: yaofangyong <2385605052@qq.com> --- README.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/README.md b/README.md index 9e03561..013fb43 100644 --- a/README.md +++ b/README.md @@ -22,6 +22,14 @@ ohpm install @ohos/imageknife ``` +## X86模拟器配置 +X86模拟器的前置条件参考: + +[申请鸿蒙开发套件](https://developer.huawei.com/consumer/cn/deveco-developer-suite/enabling/kit?currentPage=1&pageSize=100) + +备注:开发者需要申请HarmonyOS NEXT白名单权限。 + + ## 使用说明 ### 1.依赖配置