diff --git a/README.en.md b/README.en.md index 0416b341fe3ce189ab01b7908247f5c1855cd21d..8ccedf5ceaf043b377174bb407fa61c4f9b545c3 100644 --- a/README.en.md +++ b/README.en.md @@ -16,7 +16,7 @@ This warehouse is based on the compatible extension of flutter sdk for OpenHarmo * Building steps: - !!! Info For Windows environment, please set environment variables in Environment Variables Dialog + **For Windows environment, please set environment variables in Environment Variables Dialog** 1. Download [command line tool](https://developer.harmonyos.com/cn/develop/deveco-studio#download_cli), and configure the environment variables ohpm and sdkmanager. After the download is complete, execute `ohpm/bin/init` to install ohpm. Refer to the guidance document: [ohpm usage guide](https://developer.harmonyos.com/cn/docs/documentation/doc-guides-V3/ide-command-line-ohpm-0000001490235312-V3). diff --git a/README.md b/README.md index cb16c4225f5715b93f37073650ff479e65d577c1..e08a5c0f820db6366375aecd14d1d9fe2bd94e1b 100644 --- a/README.md +++ b/README.md @@ -16,7 +16,7 @@ Flutter SDK 仓库 * 构建步骤: - !!! Info Windows环境请通过编辑Windows下的“环境变量”页面设置环境变量 + **Windows环境请通过编辑Windows下的“环境变量”页面设置环境变量** 1. 下载[命令行工具](https://developer.harmonyos.com/cn/develop/deveco-studio#download_cli),并配置环境变量ohpm与sdkmanager,下载完成后执行`ohpm/bin/init`安装ohpm。参照指导文档:[ohpm使用指导](https://developer.harmonyos.com/cn/docs/documentation/doc-guides-V3/ide-command-line-ohpm-0000001490235312-V3)。 diff --git a/packages/flutter_tools/lib/src/artifacts.dart b/packages/flutter_tools/lib/src/artifacts.dart index 5b14b630afd0f5fa1668f32f2fc592147bf06e81..574b42346293263fd4e886fdd8c2567812fcfd60 100644 --- a/packages/flutter_tools/lib/src/artifacts.dart +++ b/packages/flutter_tools/lib/src/artifacts.dart @@ -592,7 +592,7 @@ class CachedArtifacts implements Artifacts { } String _getOhosArtifactPath(Artifact artifact, TargetPlatform platform, BuildMode mode) { - final String engineDir = _getEngineArtifactsPath(platform, mode)!; + final String? engineDir = _getEngineArtifactsPath(platform, mode); switch (artifact) { case Artifact.genSnapshot: case Artifact.frontendServerSnapshotForEngineDartSdk: diff --git a/packages/flutter_tools/templates/app_shared/ohos.tmpl/har/flutter_embedding.har.debug.10 b/packages/flutter_tools/templates/app_shared/ohos.tmpl/har/flutter_embedding.har.debug.10 index 6b41214e49ef628929399a7a70adc39a17374d35..d8e07ca297de2100ce605f8af1126daf6eeb5d8f 100644 Binary files a/packages/flutter_tools/templates/app_shared/ohos.tmpl/har/flutter_embedding.har.debug.10 and b/packages/flutter_tools/templates/app_shared/ohos.tmpl/har/flutter_embedding.har.debug.10 differ diff --git a/packages/flutter_tools/templates/app_shared/ohos.tmpl/har/flutter_embedding.har.release.10 b/packages/flutter_tools/templates/app_shared/ohos.tmpl/har/flutter_embedding.har.release.10 index 07bdf8f9b5ad61a27a4ddb0d89e2ef74c857b8b7..da9b320a09600f678975b827160441e46144bf08 100644 Binary files a/packages/flutter_tools/templates/app_shared/ohos.tmpl/har/flutter_embedding.har.release.10 and b/packages/flutter_tools/templates/app_shared/ohos.tmpl/har/flutter_embedding.har.release.10 differ