Flutter Harmonyos flutter run 提示 Target debug_ohos_application failed: ShaderCompilerException 错误
Flutter HarmonyOS flutter run 提示 Target debug_ohos_application failed: ShaderCompilerException 错误
start hap build...
Target debug_ohos_application failed: ShaderCompilerException: The impellerc utility is missing at
"D:\Huawei\flutter_flutter_sdk\flutter_flutter\bin\cache\artifacts\engine\windows-x64\impellerc.exe". Run "flutter doctor".
#0 ShaderCompiler.compileShader (package:flutter_tools/src/build_system/targets/shader_compiler.dart:176:7)
#1 copyAssets.<anonymous closure> (package:flutter_tools/src/build_system/targets/assets.dart:127:46)
<asynchronous suspension>
#2 Future.wait.<anonymous closure> (dart:async/future.dart:522:21)
<asynchronous suspension>
#3 copyAssets (package:flutter_tools/src/build_system/targets/assets.dart:98:3)
<asynchronous suspension>
#4 OhosAssetBundle.build (package:flutter_tools/src/build_system/targets/ohos.dart:347:34)
<asynchronous suspension>
#5 _BuildInstance._invokeInternal (package:flutter_tools/src/build_system/build_system.dart:847:9)
<asynchronous suspension>
#6 FlutterBuildSystem.build (package:flutter_tools/src/build_system/build_system.dart:614:16)
<asynchronous suspension>
#7 flutterAssemble (package:flutter_tools/src/ohos/hvigor.dart:319:32)
<asynchronous suspension>
#8 OhosHvigorBuilder.flutterBuildPre (package:flutter_tools/src/ohos/hvigor.dart:573:9)
<asynchronous suspension>
#9 OhosHvigorBuilder.buildApplicationPipeLine (package:flutter_tools/src/ohos/hvigor.dart:710:5)
<asynchronous suspension>
#10 OhosHvigorBuilder.buildHap (package:flutter_tools/src/ohos/hvigor.dart:506:5)
<asynchronous suspension>
#11 OhosDevice.startApp (package:flutter_tools/src/ohos/ohos_device.dart:289:7)
<asynchronous suspension>
#12 FlutterDevice.runHot (package:flutter_tools/src/resident_runner.dart:462:33)
<asynchronous suspension>
#13 Future.wait.<anonymous closure> (dart:async/future.dart:522:21)
<asynchronous suspension>
#14 HotRunner.run (package:flutter_tools/src/run_hot.dart:414:34)
<asynchronous suspension>
#15 RunCommand.runCommand (package:flutter_tools/src/commands/run.dart:715:27)
<asynchronous suspension>
#16 FlutterCommand.run.<anonymous closure> (package:flutter_tools/src/runner/flutter_command.dart:1257:27)
<asynchronous suspension>
#17 AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19
1 回复