From 81afe41c24d51819644cc9ce0aeb8c29a4fb2acf Mon Sep 17 00:00:00 2001 From: shijie Date: Tue, 27 Aug 2024 11:28:40 +0000 Subject: [PATCH 01/17] =?UTF-8?q?README=E6=96=87=E6=A1=A3=E4=BC=98?= =?UTF-8?q?=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: shijie --- README.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 7f294dbd41..3e4323e5a3 100644 --- a/README.md +++ b/README.md @@ -20,13 +20,13 @@ Flutter SDK 仓库 Windows环境下flutter工程和依赖的插件工程需要在同一个磁盘。 * 环境配置 - **请从[鸿蒙SDK](https://developer.huawei.com/consumer/cn/develop)下载配套开发工具** - *下列环境变量配置,类Unix系统(Linux、Mac),下可直接参照配置,Windows下环境变量配置请在‘编辑系统环境变量’中设置* + + 请从[鸿蒙SDK](https://developer.huawei.com/consumer/cn/develop)下载配套开发工具。类Unix系统(Linux、Mac)可直接参照以下配置,Windows环境变量配置请在‘编辑系统环境变量’中设置。 1. 配置HarmonyOS SDK和环境变量 - * API12, deveco-studio-5.0 或 command-line-tools-5.0 - * 配置 Java17 - * 配置环境变量 (SDK, node, ohpm, hvigor) + - API12, deveco-studio-5.0 或 command-line-tools-5.0 + - 配置 Java17 + - 配置环境变量 (SDK, node, ohpm, hvigor) ```sh export TOOL_HOME=/Applications/DevEco-Studio.app/Contents # mac环境 -- Gitee From 58a331be0f6802be39901668e29694a81c8384cd Mon Sep 17 00:00:00 2001 From: shijie Date: Wed, 28 Aug 2024 06:07:19 +0000 Subject: [PATCH 02/17] update README.md. Signed-off-by: shijie --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 3e4323e5a3..b7ad4b7512 100644 --- a/README.md +++ b/README.md @@ -24,9 +24,9 @@ Flutter SDK 仓库 请从[鸿蒙SDK](https://developer.huawei.com/consumer/cn/develop)下载配套开发工具。类Unix系统(Linux、Mac)可直接参照以下配置,Windows环境变量配置请在‘编辑系统环境变量’中设置。 1. 配置HarmonyOS SDK和环境变量 - - API12, deveco-studio-5.0 或 command-line-tools-5.0 - - 配置 Java17 - - 配置环境变量 (SDK, node, ohpm, hvigor) + - API12, deveco-studio-5.0 或 command-line-tools-5.0 + - 配置 Java17 + - 配置环境变量 (SDK, node, ohpm, hvigor) ```sh export TOOL_HOME=/Applications/DevEco-Studio.app/Contents # mac环境 -- Gitee From ab8ff2a477dc05a61fd991d023eb88a3b768a55c Mon Sep 17 00:00:00 2001 From: shijie Date: Wed, 28 Aug 2024 07:54:51 +0000 Subject: [PATCH 03/17] update README.md. Signed-off-by: shijie --- README.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index b7ad4b7512..9313f37247 100644 --- a/README.md +++ b/README.md @@ -29,6 +29,7 @@ Flutter SDK 仓库 - 配置环境变量 (SDK, node, ohpm, hvigor) ```sh + # 以下为类Unix系统(Linux、Mac)的环境变量配置(具体代码路径请替换成实际路径) export TOOL_HOME=/Applications/DevEco-Studio.app/Contents # mac环境 export DEVECO_SDK_HOME=$TOOL_HOME/sdk # command-line-tools/sdk export PATH=$TOOL_HOME/tools/ohpm/bin:$PATH # command-line-tools/ohpm/bin @@ -39,6 +40,7 @@ Flutter SDK 仓库 2. 通过代码工具下载当前仓库代码`git clone https://gitee.com/openharmony-sig/flutter_flutter.git`,指定dev或master分支,并配置环境 ```sh + # 以下为类Unix系统(Linux、Mac)的环境变量配置(具体代码路径请替换成实际路径) export PUB_CACHE=D:/PUB export PATH=/bin:$PATH export PUB_HOSTED_URL=https://pub.flutter-io.cn @@ -50,9 +52,9 @@ Flutter SDK 仓库 - 可在该路径下载[编译产物](https://docs.qq.com/sheet/DUnljRVBYUWZKZEtF?tab=BB08J2) - engine路径指向需带上 `src/out` 目录 - 上述所有环境变量的配置(Windows下环境变量配置请在‘编辑系统环境变量’中设置),可参考下面的示例(其中user和具体代码路径请替换成实际路径): - ```sh + # 以下为类Unix系统(Linux、Mac)的环境变量配置(具体代码路径请替换成实际路径) + #依赖缓存 export PUB_CACHE=D:/PUB(自定义路径) -- Gitee From 219a65081a4db35ce8a9fa54aaf869a9bea9b2e4 Mon Sep 17 00:00:00 2001 From: shijie Date: Wed, 28 Aug 2024 07:59:49 +0000 Subject: [PATCH 04/17] update README.md. Signed-off-by: shijie --- README.md | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index 9313f37247..2732921315 100644 --- a/README.md +++ b/README.md @@ -37,15 +37,15 @@ Flutter SDK 仓库 export PATH=$TOOL_HOME/tools/node/bin:$PATH # command-line-tools/tool/node/bin ``` - 2. 通过代码工具下载当前仓库代码`git clone https://gitee.com/openharmony-sig/flutter_flutter.git`,指定dev或master分支,并配置环境 - - ```sh - # 以下为类Unix系统(Linux、Mac)的环境变量配置(具体代码路径请替换成实际路径) - export PUB_CACHE=D:/PUB - export PATH=/bin:$PATH - export PUB_HOSTED_URL=https://pub.flutter-io.cn - export FLUTTER_STORAGE_BASE_URL=https://storage.flutter-io.cn - ``` + 2. 通过代码工具下载当前仓库代码`git clone https://gitee.com/openharmony-sig/flutter_flutter.git`,指定dev或master分支(推荐dev分支),并配置环境 + + ```sh + # 以下为类Unix系统(Linux、Mac)的环境变量配置(具体代码路径请替换成实际路径) + export PUB_CACHE=D:/PUB + export PATH=/bin:$PATH + export PUB_HOSTED_URL=https://pub.flutter-io.cn + export FLUTTER_STORAGE_BASE_URL=https://storage.flutter-io.cn + ``` 3. `--local-engine` 成为可选参数,可以不传,默认从云端获取。 - 使用示例:`--local-engine=src/out/` -- Gitee From 1b4f749444da26b56da1f9da0c1e3d8384470f5b Mon Sep 17 00:00:00 2001 From: shijie Date: Wed, 28 Aug 2024 08:14:57 +0000 Subject: [PATCH 05/17] update README.md. Signed-off-by: shijie --- README.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 2732921315..854ac02097 100644 --- a/README.md +++ b/README.md @@ -135,7 +135,7 @@ Flutter SDK 仓库 ./ohsdkmgr install ets:9 js:9 native:9 previewer:9 toolchains:9 --sdk-directory='/home/xc/code/sdk/ohos-sdk/' --accept-license ``` -3. 如果你使用的是DevEco Studio的Beta版本,编译工程时遇到“must have required property 'compatibleSdkVersion', location: demo/ohos/build-profile.json5:17:11"错误,请参考《DevEco Studio环境配置指导.docx》中的‘6 创建工程和运行Hello World’【配置插件】章节修改 hvigor/hvigor-config.json5文件。 +3. 如果你使用的是DevEco Studio的Beta版本,编译工程时遇到“must have required property 'compatibleSdkVersion', location: demo/ohos/build-profile.json5:17:11"错误,请参考《DevEco Studio环境配置指导.docx》中的‘6 创建工程和运行Hello World’【配置插件】章节修改hvigor/hvigor-config.json5文件。 4. 若提示安装报错:`fail to verify pkcs7 file` 请执行指令 @@ -197,11 +197,11 @@ Flutter SDK 仓库 1. 解决方案:更新 flutter_flutter 到 a44b8a6d (2024-07-25) 之后的版本。 2. 关键日志: - ``` - #20 at attachToNative (oh_modules/.ohpm/@ohos+flutter_ohos@g8zhdaqwu8gotysbmqcstpfpcpy=/oh_modules/@ohos/flutter_ohos/src/main/ets/embedding/engine/FlutterNapi.ets:78:32) - #21 at attachToNapi (oh_modules/.ohpm/@ohos+flutter_ohos@g8zhdaqwu8gotysbmqcstpfpcpy=/oh_modules/@ohos/flutter_ohos/src/main/ets/embedding/engine/FlutterEngine.ets:144:5) - #22 at init (oh_modules/.ohpm/@ohos+flutter_ohos@g8zhdaqwu8gotysbmqcstpfpcpy=/oh_modules/@ohos/flutter_ohos/src/main/ets/embedding/engine/FlutterEngine.ets:133:7) - ``` + ``` + #20 at attachToNative (oh_modules/.ohpm/@ohos+flutter_ohos@g8zhdaqwu8gotysbmqcstpfpcpy=/oh_modules/@ohos/flutter_ohos/src/main/ets/embedding/engine/FlutterNapi.ets:78:32) + #21 at attachToNapi (oh_modules/.ohpm/@ohos+flutter_ohos@g8zhdaqwu8gotysbmqcstpfpcpy=/oh_modules/@ohos/flutter_ohos/src/main/ets/embedding/engine/FlutterEngine.ets:144:5) + #22 at init (oh_modules/.ohpm/@ohos+flutter_ohos@g8zhdaqwu8gotysbmqcstpfpcpy=/oh_modules/@ohos/flutter_ohos/src/main/ets/embedding/engine/FlutterEngine.ets:133:7) + ``` 12. 构建Hap命令直接执行`flutter build hap`即可,不再需要`--local-engine`参数,直接从云端获取编译产物。 -- Gitee From 1dfa5899dd04603c154fbada643872b0a849d02b Mon Sep 17 00:00:00 2001 From: shijie Date: Wed, 28 Aug 2024 08:18:09 +0000 Subject: [PATCH 06/17] update README.md. Signed-off-by: shijie --- README.md | 48 ++++++++++++++++++++++++------------------------ 1 file changed, 24 insertions(+), 24 deletions(-) diff --git a/README.md b/README.md index 854ac02097..6b4a3e190a 100644 --- a/README.md +++ b/README.md @@ -197,45 +197,45 @@ Flutter SDK 仓库 1. 解决方案:更新 flutter_flutter 到 a44b8a6d (2024-07-25) 之后的版本。 2. 关键日志: - ``` - #20 at attachToNative (oh_modules/.ohpm/@ohos+flutter_ohos@g8zhdaqwu8gotysbmqcstpfpcpy=/oh_modules/@ohos/flutter_ohos/src/main/ets/embedding/engine/FlutterNapi.ets:78:32) - #21 at attachToNapi (oh_modules/.ohpm/@ohos+flutter_ohos@g8zhdaqwu8gotysbmqcstpfpcpy=/oh_modules/@ohos/flutter_ohos/src/main/ets/embedding/engine/FlutterEngine.ets:144:5) - #22 at init (oh_modules/.ohpm/@ohos+flutter_ohos@g8zhdaqwu8gotysbmqcstpfpcpy=/oh_modules/@ohos/flutter_ohos/src/main/ets/embedding/engine/FlutterEngine.ets:133:7) - ``` + ``` + #20 at attachToNative (oh_modules/.ohpm/@ohos+flutter_ohos@g8zhdaqwu8gotysbmqcstpfpcpy=/oh_modules/@ohos/flutter_ohos/src/main/ets/embedding/engine/FlutterNapi.ets:78:32) + #21 at attachToNapi (oh_modules/.ohpm/@ohos+flutter_ohos@g8zhdaqwu8gotysbmqcstpfpcpy=/oh_modules/@ohos/flutter_ohos/src/main/ets/embedding/engine/FlutterEngine.ets:144:5) + #22 at init (oh_modules/.ohpm/@ohos+flutter_ohos@g8zhdaqwu8gotysbmqcstpfpcpy=/oh_modules/@ohos/flutter_ohos/src/main/ets/embedding/engine/FlutterEngine.ets:133:7) + ``` 12. 构建Hap命令直接执行`flutter build hap`即可,不再需要`--local-engine`参数,直接从云端获取编译产物。 13. 配置环境完成后执行 flutter 命令 出现闪退。 1. 解决方案:windows环境中添加git环境变量配置。 - ``` - export PATH=/cmd:$PATH - ``` + ``` + export PATH=/cmd:$PATH + ``` 14. 执行`flutter pub cache clean` 正常 执行`flutter clean` 报错,按照报错信息执行 update 命令也没有效果。 1. 解决方案:通过注释掉 build.json5 文件中的配置规避。 2. 报错信息: - ``` - #Parse ohos module. json5 error: Exception: Can not found module.json5 at - #D:\pub_cache\git\flutter_packages-b00939bb44d018f0710d1b080d91dcf4c34ed06\packages\video_player\video_player_ohos\ohossrc\main\module.json5. - #You need to update the Flutter plugin project structure. - #See - #https://gitee.com/openharmony-sig/flutter_samples/tree/master/ohos/docs/09_specifications/update_flutter_plugin_structure.md - ``` + ``` + #Parse ohos module. json5 error: Exception: Can not found module.json5 at + #D:\pub_cache\git\flutter_packages-b00939bb44d018f0710d1b080d91dcf4c34ed06\packages\video_player\video_player_ohos\ohossrc\main\module.json5. + #You need to update the Flutter plugin project structure. + #See + #https://gitee.com/openharmony-sig/flutter_samples/tree/master/ohos/docs/09_specifications/update_flutter_plugin_structure.md + ``` 15. 执行`flutter build hap` 时遇到路径校验报错。 1. 解决方案: ·打开 deveco 安装路径 D:\DevEco Studio\tools\hvigor\hvigor-ohos-plugin\res\schemas 下的 ohos-project-build-profile-schema.json文件。 ·在该文件中找到包含:"pattern": "^(\\./|\\.\\./)[\\s\\S]+$"的行,并删除此行。 2. 报错信息: - ``` - #hvigor ERROR: Schema validate failed. - # Detail: Please check the following fields. - #instancePath: 'modules[1].scrPath', - #keyword: 'pattern' - #params: { pattern:'^(\\./|\\.\\./)[\\s\\S]+$' }, - #message: 'must match pattern "^(\\./|\\.\\./)[\\s\\S]+$"', - #location: 'D:/work/videoplayerdemo/video_cannot_stop_at_background/ohos/build-profile.json:42:146' - ``` + ``` + #hvigor ERROR: Schema validate failed. + # Detail: Please check the following fields. + #instancePath: 'modules[1].scrPath', + #keyword: 'pattern' + #params: { pattern:'^(\\./|\\.\\./)[\\s\\S]+$' }, + #message: 'must match pattern "^(\\./|\\.\\./)[\\s\\S]+$"', + #location: 'D:/work/videoplayerdemo/video_cannot_stop_at_background/ohos/build-profile.json:42:146' + ``` 16. 执行`flutter build hap` 报错。 1. 解决方案:打开 deveco 安装路径 D:\DevEco Studio\tools\hvigor\hvigor-ohos-plugin\src\model\module 下的 core-module-model-impl.js, -- Gitee From 46d353249599f958812ea50a321cd9fa78f1afd6 Mon Sep 17 00:00:00 2001 From: shijie Date: Wed, 28 Aug 2024 08:19:52 +0000 Subject: [PATCH 07/17] update README.md. Signed-off-by: shijie --- README.md | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 6b4a3e190a..9455c2cb91 100644 --- a/README.md +++ b/README.md @@ -248,14 +248,14 @@ Flutter SDK 仓库 } ``` 2. 报错信息: - ``` - # hvigor ERROR: Cannot find belonging project path for module at D:\. - # hvigor ERROR: BUILD FAILED in 2s 556ms. - #Running Hvigor task assembleHap... - #Oops; flutter has exited unexpectedly: "ProcessException: The command failed - # Date: Wed, 28 Aug 2024 08:23:17 +0000 Subject: [PATCH 08/17] update README.md. Signed-off-by: shijie --- README.md | 58 +++++++++++++++++++++++++++---------------------------- 1 file changed, 29 insertions(+), 29 deletions(-) diff --git a/README.md b/README.md index 9455c2cb91..551bf2712f 100644 --- a/README.md +++ b/README.md @@ -197,45 +197,45 @@ Flutter SDK 仓库 1. 解决方案:更新 flutter_flutter 到 a44b8a6d (2024-07-25) 之后的版本。 2. 关键日志: - ``` - #20 at attachToNative (oh_modules/.ohpm/@ohos+flutter_ohos@g8zhdaqwu8gotysbmqcstpfpcpy=/oh_modules/@ohos/flutter_ohos/src/main/ets/embedding/engine/FlutterNapi.ets:78:32) - #21 at attachToNapi (oh_modules/.ohpm/@ohos+flutter_ohos@g8zhdaqwu8gotysbmqcstpfpcpy=/oh_modules/@ohos/flutter_ohos/src/main/ets/embedding/engine/FlutterEngine.ets:144:5) - #22 at init (oh_modules/.ohpm/@ohos+flutter_ohos@g8zhdaqwu8gotysbmqcstpfpcpy=/oh_modules/@ohos/flutter_ohos/src/main/ets/embedding/engine/FlutterEngine.ets:133:7) - ``` + ``` + #20 at attachToNative (oh_modules/.ohpm/@ohos+flutter_ohos@g8zhdaqwu8gotysbmqcstpfpcpy=/oh_modules/@ohos/flutter_ohos/src/main/ets/embedding/engine/FlutterNapi.ets:78:32) + #21 at attachToNapi (oh_modules/.ohpm/@ohos+flutter_ohos@g8zhdaqwu8gotysbmqcstpfpcpy=/oh_modules/@ohos/flutter_ohos/src/main/ets/embedding/engine/FlutterEngine.ets:144:5) + #22 at init (oh_modules/.ohpm/@ohos+flutter_ohos@g8zhdaqwu8gotysbmqcstpfpcpy=/oh_modules/@ohos/flutter_ohos/src/main/ets/embedding/engine/FlutterEngine.ets:133:7) + ``` 12. 构建Hap命令直接执行`flutter build hap`即可,不再需要`--local-engine`参数,直接从云端获取编译产物。 13. 配置环境完成后执行 flutter 命令 出现闪退。 1. 解决方案:windows环境中添加git环境变量配置。 - ``` - export PATH=/cmd:$PATH - ``` + ``` + export PATH=/cmd:$PATH + ``` 14. 执行`flutter pub cache clean` 正常 执行`flutter clean` 报错,按照报错信息执行 update 命令也没有效果。 1. 解决方案:通过注释掉 build.json5 文件中的配置规避。 2. 报错信息: - ``` - #Parse ohos module. json5 error: Exception: Can not found module.json5 at - #D:\pub_cache\git\flutter_packages-b00939bb44d018f0710d1b080d91dcf4c34ed06\packages\video_player\video_player_ohos\ohossrc\main\module.json5. - #You need to update the Flutter plugin project structure. - #See - #https://gitee.com/openharmony-sig/flutter_samples/tree/master/ohos/docs/09_specifications/update_flutter_plugin_structure.md - ``` + ``` + #Parse ohos module. json5 error: Exception: Can not found module.json5 at + #D:\pub_cache\git\flutter_packages-b00939bb44d018f0710d1b080d91dcf4c34ed06\packages\video_player\video_player_ohos\ohossrc\main\module.json5. + #You need to update the Flutter plugin project structure. + #See + #https://gitee.com/openharmony-sig/flutter_samples/tree/master/ohos/docs/09_specifications/update_flutter_plugin_structure.md + ``` 15. 执行`flutter build hap` 时遇到路径校验报错。 1. 解决方案: ·打开 deveco 安装路径 D:\DevEco Studio\tools\hvigor\hvigor-ohos-plugin\res\schemas 下的 ohos-project-build-profile-schema.json文件。 ·在该文件中找到包含:"pattern": "^(\\./|\\.\\./)[\\s\\S]+$"的行,并删除此行。 2. 报错信息: - ``` - #hvigor ERROR: Schema validate failed. - # Detail: Please check the following fields. - #instancePath: 'modules[1].scrPath', - #keyword: 'pattern' - #params: { pattern:'^(\\./|\\.\\./)[\\s\\S]+$' }, - #message: 'must match pattern "^(\\./|\\.\\./)[\\s\\S]+$"', - #location: 'D:/work/videoplayerdemo/video_cannot_stop_at_background/ohos/build-profile.json:42:146' - ``` + ``` + #hvigor ERROR: Schema validate failed. + # Detail: Please check the following fields. + #instancePath: 'modules[1].scrPath', + #keyword: 'pattern' + #params: { pattern:'^(\\./|\\.\\./)[\\s\\S]+$' }, + #message: 'must match pattern "^(\\./|\\.\\./)[\\s\\S]+$"', + #location: 'D:/work/videoplayerdemo/video_cannot_stop_at_background/ohos/build-profile.json:42:146' + ``` 16. 执行`flutter build hap` 报错。 1. 解决方案:打开 deveco 安装路径 D:\DevEco Studio\tools\hvigor\hvigor-ohos-plugin\src\model\module 下的 core-module-model-impl.js, @@ -259,10 +259,10 @@ Flutter SDK 仓库 17. 在.ohos的项目执行`flutter clean` 报错,然后再执行`flutter pub get`也报错。 1. 解决方案:删除.ohos文件夹,重新flutter pub get 即可 - 2.报错信息: - ``` - Oops; flutter has exited unexpectedly: "PathNotFoundException: Cannot open file, path = 'D:\code\.ohos\build-profile.json5' (OS Error: 系统找不到指定的文件。,error = 2)". - A crash report has been written to D:\code\flutter_01.log. - ``` + 2. 报错信息: + ``` + Oops; flutter has exited unexpectedly: "PathNotFoundException: Cannot open file, path = 'D:\code\.ohos\build-profile.json5' (OS Error: 系统找不到指定的文件。,error = 2)". + A crash report has been written to D:\code\flutter_01.log. + ``` [更多FAQ](https://gitee.com/openharmony-sig/flutter_samples/blob/master/ohos/docs/08_FAQ/README.md) -- Gitee From 41e1f7fb304e82847b13baf035feea4b6d781dff Mon Sep 17 00:00:00 2001 From: shijie Date: Wed, 28 Aug 2024 09:01:26 +0000 Subject: [PATCH 09/17] update README.en.md. Signed-off-by: shijie --- README.en.md | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/README.en.md b/README.en.md index 114ad9ac67..4c771330b4 100644 --- a/README.en.md +++ b/README.en.md @@ -21,15 +21,15 @@ This repository is a compatible extension of Flutter SDK for the OpenHarmony pla * Environment configuration - **Please download the supporting development tool from [OpenHarmony SDK](https://developer.huawei.com/consumer/cn/develop)** - *The following environment variable configuration is for Unix-like systems (Linux, Mac). You can directly refer to the configuration below. For environment variable configuration under Windows, please set it in ‘Edit System Environment Variables’* + Please refer to [HarmonyOS SDK]( https://developer.huawei.com/consumer/cn/develop )Download the accompanying development tools. Unix like systems (Linux, Mac) can directly refer to the following configuration. For Windows environment variable configuration, please set it in 'Edit System Environment Variables'. 1. Configure the HarmonyOS SDK and environment variables - * API12, deveco-studio-5.0 or command-line-tools-5.0 - * Configure Java17 - * Configure environment variables (SDK, node, ohpm, hvigor) + - API12, deveco-studio-5.0 or command-line-tools-5.0 + - Configure Java17 + - Configure environment variables (SDK, node, ohpm, hvigor) ```sh + # The following is the environment variable configuration for Unix like systems (Linux, Mac) (please replace the specific code path with the actual path) export TOOL_HOME=/Applications/DevEco-Studio.app/Contents # For mac export DEVECO_SDK_HOME=$TOOL_HOME/sdk # command-line-tools/sdk export PATH=$TOOL_HOME/tools/ohpm/bin:$PATH # command-line-tools/ohpm/bin @@ -37,12 +37,13 @@ This repository is a compatible extension of Flutter SDK for the OpenHarmony pla export PATH=$TOOL_HOME/tools/node/bin:$PATH # command-line-tools/tool/node/bin ``` - 2. Download the current warehouse code `git clone https://gitee.com/openharmony-sig/flutter_flutter.git` Specify the dev or master branch and configure the environment + 2. Download the current warehouse code `git clone https://gitee.com/openharmony-sig/flutter_flutter.git` Specify the dev or master branch(Recommended dev branch) and configure the environment ```sh + # The following is the environment variable configuration for Unix like systems (Linux, Mac) (please replace the specific code path with the actual path) export PATH=/bin:$PATH export PUB_CACHE=D:/PUB - # Domestic mirror + # Domestic mirror export PUB_HOSTED_URL=https://pub.flutter-io.cn export FLUTTER_STORAGE_BASE_URL=https://storage.flutter-io.cn ``` @@ -52,9 +53,9 @@ This repository is a compatible extension of Flutter SDK for the OpenHarmony pla - You can download [compiled product](https://docs.qq.com/sheet/DUnljRVBYUWZKZEtF?tab=BB08J2) from this path. - The engine path points to the directory that needs to be accompanied by 'src/out'. - For the configuration of all the above environment variables (for environment variable configuration under Windows, please set it in 'Edit System Environment Variables'), you can refer to the following example (please replace user and specific code path with the actual path): - ```sh + # The following is the environment variable configuration for Unix like systems (Linux, Mac) (please replace the specific code path with the actual path) + # Dependent cache export PUB_CACHE=D:/PUB(Custom path) -- Gitee From 0d3ea40a6f088b4f2d6048de864e0e94ee529aee Mon Sep 17 00:00:00 2001 From: shijie Date: Wed, 28 Aug 2024 09:02:10 +0000 Subject: [PATCH 10/17] update README.en.md. Signed-off-by: shijie --- README.en.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.en.md b/README.en.md index 4c771330b4..7951f3b55b 100644 --- a/README.en.md +++ b/README.en.md @@ -21,7 +21,7 @@ This repository is a compatible extension of Flutter SDK for the OpenHarmony pla * Environment configuration - Please refer to [HarmonyOS SDK]( https://developer.huawei.com/consumer/cn/develop )Download the accompanying development tools. Unix like systems (Linux, Mac) can directly refer to the following configuration. For Windows environment variable configuration, please set it in 'Edit System Environment Variables'. + Please refer to [HarmonyOS SDK](https://developer.huawei.com/consumer/cn/develop)Download the accompanying development tools. Unix like systems (Linux, Mac) can directly refer to the following configuration. For Windows environment variable configuration, please set it in 'Edit System Environment Variables'. 1. Configure the HarmonyOS SDK and environment variables - API12, deveco-studio-5.0 or command-line-tools-5.0 -- Gitee From 261426786bcf133dfd0bec0ebbec019e0f160436 Mon Sep 17 00:00:00 2001 From: shijie Date: Wed, 28 Aug 2024 09:02:34 +0000 Subject: [PATCH 11/17] update README.en.md. Signed-off-by: shijie --- README.en.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.en.md b/README.en.md index 7951f3b55b..3d1a38ee98 100644 --- a/README.en.md +++ b/README.en.md @@ -21,7 +21,7 @@ This repository is a compatible extension of Flutter SDK for the OpenHarmony pla * Environment configuration - Please refer to [HarmonyOS SDK](https://developer.huawei.com/consumer/cn/develop)Download the accompanying development tools. Unix like systems (Linux, Mac) can directly refer to the following configuration. For Windows environment variable configuration, please set it in 'Edit System Environment Variables'. + Please refer to [HarmonyOS SDK](https://developer.huawei.com/consumer/cn/develop) Download the accompanying development tools. Unix like systems (Linux, Mac) can directly refer to the following configuration. For Windows environment variable configuration, please set it in 'Edit System Environment Variables'. 1. Configure the HarmonyOS SDK and environment variables - API12, deveco-studio-5.0 or command-line-tools-5.0 -- Gitee From a458d0a3186ac037b83bde7e265b9de0f7cf54ea Mon Sep 17 00:00:00 2001 From: shijie Date: Wed, 28 Aug 2024 09:08:47 +0000 Subject: [PATCH 12/17] update README.en.md. Signed-off-by: shijie --- README.en.md | 50 +++++++++++++++++++++++++------------------------- 1 file changed, 25 insertions(+), 25 deletions(-) diff --git a/README.en.md b/README.en.md index 3d1a38ee98..851600f32f 100644 --- a/README.en.md +++ b/README.en.md @@ -195,46 +195,46 @@ Attachment: [Flutter third-party library adaptation plan](https://docs.qq.com/sh 11. After the ROM update of Beta 2 version, it no longer supports requesting anonymous memory with execution permission, resulting in debug crashing. 1. Solution: Update flutter_flutter to a version after a44b8a6d (2024-07-25). 2. Key logs: - - ``` - #20 at attachToNative (oh_modules/.ohpm/@ohos+flutter_ohos@g8zhdaqwu8gotysbmqcstpfpcpy=/oh_modules/@ohos/flutter_ohos/src/main/ets/embedding/engine/FlutterNapi.ets:78:32) - #21 at attachToNapi (oh_modules/.ohpm/@ohos+flutter_ohos@g8zhdaqwu8gotysbmqcstpfpcpy=/oh_modules/@ohos/flutter_ohos/src/main/ets/embedding/engine/FlutterEngine.ets:144:5) - #22 at init (oh_modules/.ohpm/@ohos+flutter_ohos@g8zhdaqwu8gotysbmqcstpfpcpy=/oh_modules/@ohos/flutter_ohos/src/main/ets/embedding/engine/FlutterEngine.ets:133:7) - ``` + + ``` + #20 at attachToNative (oh_modules/.ohpm/@ohos+flutter_ohos@g8zhdaqwu8gotysbmqcstpfpcpy=/oh_modules/@ohos/flutter_ohos/src/main/ets/embedding/engine/FlutterNapi.ets:78:32) + #21 at attachToNapi (oh_modules/.ohpm/@ohos+flutter_ohos@g8zhdaqwu8gotysbmqcstpfpcpy=/oh_modules/@ohos/flutter_ohos/src/main/ets/embedding/engine/FlutterEngine.ets:144:5) + #22 at init (oh_modules/.ohpm/@ohos+flutter_ohos@g8zhdaqwu8gotysbmqcstpfpcpy=/oh_modules/@ohos/flutter_ohos/src/main/ets/embedding/engine/FlutterEngine.ets:133:7) + ``` 12. Build Hap command directly execute `flutter build hap`, no longer need `--local-engine` parameter, directly from the cloud to obtain the compilation product 13. After the environment is configured, the system crashes when the flutter command is executed。 1. Solution:Add git environment variable configuration in windows environment。 - ``` - export PATH=/cmd:$PATH - ``` + ``` + export PATH=/cmd:$PATH + ``` 14. If `flutter pub cache clean` is executed normally, `flutter clean` will report an error. If update command is executed according to the error message, it has no effect。 1. Solution:To avoid this problem, comment out the configuration in the build.json5 file。 2. Error message: - ``` - #Parse ohos module. json5 error: Exception: Can not found module.json5 at - #D:\pub_cache\git\flutter_packages-b00939bb44d018f0710d1b080d91dcf4c34ed06\packages\video_player\video_player_ohos\ohossrc\main\module.json5. - #You need to update the Flutter plugin project structure. - #See - #https://gitee.com/openharmony-sig/flutter_samples/tree/master/ohos/docs/09_specifications/update_flutter_plugin_structure.md - ``` + ``` + #Parse ohos module. json5 error: Exception: Can not found module.json5 at + #D:\pub_cache\git\flutter_packages-b00939bb44d018f0710d1b080d91dcf4c34ed06\packages\video_player\video_player_ohos\ohossrc\main\module.json5. + #You need to update the Flutter plugin project structure. + #See + #https://gitee.com/openharmony-sig/flutter_samples/tree/master/ohos/docs/09_specifications/update_flutter_plugin_structure.md + ``` 15. An error message indicating path verification occurs when `flutter build hap` is executed。 1. Solution: · Open the ohos-project-build-profile-schema.json file in deveco installation path D:\DevEco Studio\tools\hvigor\hvigor-ohos-plugin\res\schemas。 · Find the line containing: "pattern": "^(\\./|\\.\\./)[\\s\\S]+$" in the file and delete it。 2. Error message: - ``` - #hvigor ERROR: Schema validate failed. - # Detail: Please check the following fields. - #instancePath: 'modules[1].scrPath', - #keyword: 'pattern' - #params: { pattern:'^(\\./|\\.\\./)[\\s\\S]+$' }, - #message: 'must match pattern "^(\\./|\\.\\./)[\\s\\S]+$"', - #location: 'D:/work/videoplayerdemo/video_cannot_stop_at_background/ohos/build-profile.json:42:146' - ``` + ``` + #hvigor ERROR: Schema validate failed. + # Detail: Please check the following fields. + #instancePath: 'modules[1].scrPath', + #keyword: 'pattern' + #params: { pattern:'^(\\./|\\.\\./)[\\s\\S]+$' }, + #message: 'must match pattern "^(\\./|\\.\\./)[\\s\\S]+$"', + #location: 'D:/work/videoplayerdemo/video_cannot_stop_at_background/ohos/build-profile.json:42:146' + ``` 16. Execute `flutter build hap` report an error。 1. Solution:Open the core-module-model-impl.js file in deveco installation path D:\DevEco Studio\tools\hvigor\hvigor-ohos-plugin\src\model\module。, -- Gitee From d3ca339aaf5ae314b525834c7efd206eda315cbf Mon Sep 17 00:00:00 2001 From: shijie Date: Wed, 28 Aug 2024 09:10:59 +0000 Subject: [PATCH 13/17] update README.en.md. Signed-off-by: shijie --- README.en.md | 72 ++++++++++++++++++++++++++-------------------------- 1 file changed, 36 insertions(+), 36 deletions(-) diff --git a/README.en.md b/README.en.md index 851600f32f..2e7d860143 100644 --- a/README.en.md +++ b/README.en.md @@ -196,45 +196,45 @@ Attachment: [Flutter third-party library adaptation plan](https://docs.qq.com/sh 1. Solution: Update flutter_flutter to a version after a44b8a6d (2024-07-25). 2. Key logs: - ``` - #20 at attachToNative (oh_modules/.ohpm/@ohos+flutter_ohos@g8zhdaqwu8gotysbmqcstpfpcpy=/oh_modules/@ohos/flutter_ohos/src/main/ets/embedding/engine/FlutterNapi.ets:78:32) - #21 at attachToNapi (oh_modules/.ohpm/@ohos+flutter_ohos@g8zhdaqwu8gotysbmqcstpfpcpy=/oh_modules/@ohos/flutter_ohos/src/main/ets/embedding/engine/FlutterEngine.ets:144:5) - #22 at init (oh_modules/.ohpm/@ohos+flutter_ohos@g8zhdaqwu8gotysbmqcstpfpcpy=/oh_modules/@ohos/flutter_ohos/src/main/ets/embedding/engine/FlutterEngine.ets:133:7) - ``` + ``` + #20 at attachToNative (oh_modules/.ohpm/@ohos+flutter_ohos@g8zhdaqwu8gotysbmqcstpfpcpy=/oh_modules/@ohos/flutter_ohos/src/main/ets/embedding/engine/FlutterNapi.ets:78:32) + #21 at attachToNapi (oh_modules/.ohpm/@ohos+flutter_ohos@g8zhdaqwu8gotysbmqcstpfpcpy=/oh_modules/@ohos/flutter_ohos/src/main/ets/embedding/engine/FlutterEngine.ets:144:5) + #22 at init (oh_modules/.ohpm/@ohos+flutter_ohos@g8zhdaqwu8gotysbmqcstpfpcpy=/oh_modules/@ohos/flutter_ohos/src/main/ets/embedding/engine/FlutterEngine.ets:133:7) + ``` 12. Build Hap command directly execute `flutter build hap`, no longer need `--local-engine` parameter, directly from the cloud to obtain the compilation product 13. After the environment is configured, the system crashes when the flutter command is executed。 1. Solution:Add git environment variable configuration in windows environment。 - ``` - export PATH=/cmd:$PATH - ``` + ``` + export PATH=/cmd:$PATH + ``` 14. If `flutter pub cache clean` is executed normally, `flutter clean` will report an error. If update command is executed according to the error message, it has no effect。 1. Solution:To avoid this problem, comment out the configuration in the build.json5 file。 2. Error message: - ``` - #Parse ohos module. json5 error: Exception: Can not found module.json5 at - #D:\pub_cache\git\flutter_packages-b00939bb44d018f0710d1b080d91dcf4c34ed06\packages\video_player\video_player_ohos\ohossrc\main\module.json5. - #You need to update the Flutter plugin project structure. - #See - #https://gitee.com/openharmony-sig/flutter_samples/tree/master/ohos/docs/09_specifications/update_flutter_plugin_structure.md - ``` + ``` + #Parse ohos module. json5 error: Exception: Can not found module.json5 at + #D:\pub_cache\git\flutter_packages-b00939bb44d018f0710d1b080d91dcf4c34ed06\packages\video_player\video_player_ohos\ohossrc\main\module.json5. + #You need to update the Flutter plugin project structure. + #See + #https://gitee.com/openharmony-sig/flutter_samples/tree/master/ohos/docs/09_specifications/update_flutter_plugin_structure.md + ``` 15. An error message indicating path verification occurs when `flutter build hap` is executed。 1. Solution: · Open the ohos-project-build-profile-schema.json file in deveco installation path D:\DevEco Studio\tools\hvigor\hvigor-ohos-plugin\res\schemas。 · Find the line containing: "pattern": "^(\\./|\\.\\./)[\\s\\S]+$" in the file and delete it。 2. Error message: - ``` - #hvigor ERROR: Schema validate failed. - # Detail: Please check the following fields. - #instancePath: 'modules[1].scrPath', - #keyword: 'pattern' - #params: { pattern:'^(\\./|\\.\\./)[\\s\\S]+$' }, - #message: 'must match pattern "^(\\./|\\.\\./)[\\s\\S]+$"', - #location: 'D:/work/videoplayerdemo/video_cannot_stop_at_background/ohos/build-profile.json:42:146' - ``` + ``` + #hvigor ERROR: Schema validate failed. + # Detail: Please check the following fields. + #instancePath: 'modules[1].scrPath', + #keyword: 'pattern' + #params: { pattern:'^(\\./|\\.\\./)[\\s\\S]+$' }, + #message: 'must match pattern "^(\\./|\\.\\./)[\\s\\S]+$"', + #location: 'D:/work/videoplayerdemo/video_cannot_stop_at_background/ohos/build-profile.json:42:146' + ``` 16. Execute `flutter build hap` report an error。 1. Solution:Open the core-module-model-impl.js file in deveco installation path D:\DevEco Studio\tools\hvigor\hvigor-ohos-plugin\src\model\module。, @@ -247,21 +247,21 @@ Attachment: [Flutter third-party library adaptation plan](https://docs.qq.com/sh } ``` 2. Error message: - ``` - # hvigor ERROR: Cannot find belonging project path for module at D:\. - # hvigor ERROR: BUILD FAILED in 2s 556ms. - #Running Hvigor task assembleHap... - #Oops; flutter has exited unexpectedly: "ProcessException: The command failed - # Date: Wed, 28 Aug 2024 09:16:29 +0000 Subject: [PATCH 14/17] update README.en.md. Signed-off-by: shijie --- README.en.md | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/README.en.md b/README.en.md index 2e7d860143..518f103806 100644 --- a/README.en.md +++ b/README.en.md @@ -208,18 +208,18 @@ Attachment: [Flutter third-party library adaptation plan](https://docs.qq.com/sh 1. Solution:Add git environment variable configuration in windows environment。 ``` export PATH=/cmd:$PATH - ``` + ``` 14. If `flutter pub cache clean` is executed normally, `flutter clean` will report an error. If update command is executed according to the error message, it has no effect。 1. Solution:To avoid this problem, comment out the configuration in the build.json5 file。 2. Error message: ``` - #Parse ohos module. json5 error: Exception: Can not found module.json5 at - #D:\pub_cache\git\flutter_packages-b00939bb44d018f0710d1b080d91dcf4c34ed06\packages\video_player\video_player_ohos\ohossrc\main\module.json5. - #You need to update the Flutter plugin project structure. - #See - #https://gitee.com/openharmony-sig/flutter_samples/tree/master/ohos/docs/09_specifications/update_flutter_plugin_structure.md - ``` + #Parse ohos module. json5 error: Exception: Can not found module.json5 at + #D:\pub_cache\git\flutter_packages-b00939bb44d018f0710d1b080d91dcf4c34ed06\packages\video_player\video_player_ohos\ohossrc\main\module.json5. + #You need to update the Flutter plugin project structure. + #See + #https://gitee.com/openharmony-sig/flutter_samples/tree/master/ohos/docs/09_specifications/update_flutter_plugin_structure.md + ``` 15. An error message indicating path verification occurs when `flutter build hap` is executed。 1. Solution: @@ -227,14 +227,14 @@ Attachment: [Flutter third-party library adaptation plan](https://docs.qq.com/sh · Find the line containing: "pattern": "^(\\./|\\.\\./)[\\s\\S]+$" in the file and delete it。 2. Error message: ``` - #hvigor ERROR: Schema validate failed. - # Detail: Please check the following fields. - #instancePath: 'modules[1].scrPath', - #keyword: 'pattern' - #params: { pattern:'^(\\./|\\.\\./)[\\s\\S]+$' }, - #message: 'must match pattern "^(\\./|\\.\\./)[\\s\\S]+$"', - #location: 'D:/work/videoplayerdemo/video_cannot_stop_at_background/ohos/build-profile.json:42:146' - ``` + #hvigor ERROR: Schema validate failed. + # Detail: Please check the following fields. + #instancePath: 'modules[1].scrPath', + #keyword: 'pattern' + #params: { pattern:'^(\\./|\\.\\./)[\\s\\S]+$' }, + #message: 'must match pattern "^(\\./|\\.\\./)[\\s\\S]+$"', + #location: 'D:/work/videoplayerdemo/video_cannot_stop_at_background/ohos/build-profile.json:42:146' + ``` 16. Execute `flutter build hap` report an error。 1. Solution:Open the core-module-model-impl.js file in deveco installation path D:\DevEco Studio\tools\hvigor\hvigor-ohos-plugin\src\model\module。, -- Gitee From e5143873faeb2706fdaffc9b10eccd8ea0a15c91 Mon Sep 17 00:00:00 2001 From: shijie Date: Wed, 28 Aug 2024 09:17:29 +0000 Subject: [PATCH 15/17] update README.en.md. Signed-off-by: shijie --- README.en.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.en.md b/README.en.md index 518f103806..93208ccfe0 100644 --- a/README.en.md +++ b/README.en.md @@ -200,7 +200,7 @@ Attachment: [Flutter third-party library adaptation plan](https://docs.qq.com/sh #20 at attachToNative (oh_modules/.ohpm/@ohos+flutter_ohos@g8zhdaqwu8gotysbmqcstpfpcpy=/oh_modules/@ohos/flutter_ohos/src/main/ets/embedding/engine/FlutterNapi.ets:78:32) #21 at attachToNapi (oh_modules/.ohpm/@ohos+flutter_ohos@g8zhdaqwu8gotysbmqcstpfpcpy=/oh_modules/@ohos/flutter_ohos/src/main/ets/embedding/engine/FlutterEngine.ets:144:5) #22 at init (oh_modules/.ohpm/@ohos+flutter_ohos@g8zhdaqwu8gotysbmqcstpfpcpy=/oh_modules/@ohos/flutter_ohos/src/main/ets/embedding/engine/FlutterEngine.ets:133:7) - ``` + ``` 12. Build Hap command directly execute `flutter build hap`, no longer need `--local-engine` parameter, directly from the cloud to obtain the compilation product -- Gitee From 06bfc6e85ea779d206a7c6420505f31d37cd951f Mon Sep 17 00:00:00 2001 From: shijie Date: Wed, 28 Aug 2024 09:19:19 +0000 Subject: [PATCH 16/17] update README.en.md. Signed-off-by: shijie --- README.en.md | 6 ------ 1 file changed, 6 deletions(-) diff --git a/README.en.md b/README.en.md index 93208ccfe0..720cf631aa 100644 --- a/README.en.md +++ b/README.en.md @@ -38,7 +38,6 @@ This repository is a compatible extension of Flutter SDK for the OpenHarmony pla ``` 2. Download the current warehouse code `git clone https://gitee.com/openharmony-sig/flutter_flutter.git` Specify the dev or master branch(Recommended dev branch) and configure the environment - ```sh # The following is the environment variable configuration for Unix like systems (Linux, Mac) (please replace the specific code path with the actual path) export PATH=/bin:$PATH @@ -79,7 +78,6 @@ This repository is a compatible extension of Flutter SDK for the OpenHarmony pla 1. Run `flutter doctor -v` to check whether the environment variable configuration is correct. **Futter** and **OpenHarmony** should both be ok. If the two prompts indicate that the environment is missing, just follow the prompts to fill in the corresponding environment. 2. Create the project and compile the command. The compiled product is under \/ohos/entry/build/default/outputs/default/entry-default-signed.hap. - ``` # Create project flutter create --platforms ohos @@ -130,7 +128,6 @@ Attachment: [Flutter third-party library adaptation plan](https://docs.qq.com/sh 1. After switching to FLUTTER_STORAGE_BASE_URL, you need to delete the \/bin/cache directory and execute Flutter clean in the project before running it again. 2. If an error message appears: `The SDK license agreement is not accepted`, please execute the following command and compile again: - ``` ./ohsdkmgr install ets:9 js:9 native:9 previewer:9 toolchains:9 --sdk-directory='/home/xc/code/sdk/ohos-sdk/' --accept-license ``` @@ -138,7 +135,6 @@ Attachment: [Flutter third-party library adaptation plan](https://docs.qq.com/sh 3. If you are using the Beta version of DevEco Studio and encounter the error "must have required property 'compatibleSdkVersion', location: demo/ohos/build-profile.json5:17:11" when compiling the project, Modify the hvigor/hvigor-config.json5 file by referring to section ‘6 Create the project and run Hello World’ [Configuration Plug-in] in《DevEco Studio Environment configuration guide.docx》. 4. If you are prompted with an installation error: `fail to verify pkcs7 file`, please execute the command - ``` hdc shell param set persist.bms.ohCert.verify true ``` @@ -168,7 +164,6 @@ Attachment: [Flutter third-party library adaptation plan](https://docs.qq.com/sh ``` 7. Symptom Logs are lost during log query。 Solution:Disable global logs and enable only logs in your domain - ``` Step one:Disable log printing for all fields(Some special logs cannot be closed) hdc shell hilog -b X @@ -195,7 +190,6 @@ Attachment: [Flutter third-party library adaptation plan](https://docs.qq.com/sh 11. After the ROM update of Beta 2 version, it no longer supports requesting anonymous memory with execution permission, resulting in debug crashing. 1. Solution: Update flutter_flutter to a version after a44b8a6d (2024-07-25). 2. Key logs: - ``` #20 at attachToNative (oh_modules/.ohpm/@ohos+flutter_ohos@g8zhdaqwu8gotysbmqcstpfpcpy=/oh_modules/@ohos/flutter_ohos/src/main/ets/embedding/engine/FlutterNapi.ets:78:32) #21 at attachToNapi (oh_modules/.ohpm/@ohos+flutter_ohos@g8zhdaqwu8gotysbmqcstpfpcpy=/oh_modules/@ohos/flutter_ohos/src/main/ets/embedding/engine/FlutterEngine.ets:144:5) -- Gitee From b568216d31d2f07bf15248ef68e7d1a9dbcaa8b9 Mon Sep 17 00:00:00 2001 From: shijie Date: Fri, 13 Dec 2024 08:19:50 +0000 Subject: [PATCH 17/17] =?UTF-8?q?=E6=B5=81=E6=B0=B4=E7=BA=BF=E6=B5=8B?= =?UTF-8?q?=E8=AF=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: shijie --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 551bf2712f..452cf39421 100644 --- a/README.md +++ b/README.md @@ -3,6 +3,7 @@ Flutter SDK 仓库 原始仓来源:https://github.com/flutter/flutter + ## 仓库说明 本仓库是基于Flutter SDK对于OpenHarmony平台的兼容拓展,可支持IDE或者终端使用Flutter Tools指令编译和构建OpenHarmony应用程序。 -- Gitee