在构建ios时崩溃,这是日志:
Xcode build done. 7.1s
[VERBOSE-2:shell.cc(178)] Dart Error: Can't load Kernel binary: Invalid kernel binary format version.
[VERBOSE-2:engine.cc(176)] Could not prepare to run the isolate.
[VERBOSE-2:engine.cc(123)] Engine not prepare and launch isolate.
[VERBOSE-2:FlutterEngine.mm(294)] Could not launch engine with configuration.
Lost connection to device.
android可以,配置错误吗?
答案 0 :(得分:0)
我删除Flutter安装目录中的bin / cache目录,然后尝试flutter doctor -v再试一次,成功!
希望它对其他人有用。
答案 1 :(得分:0)
是的,似乎sdk已更改。删除flutter / bin / cache文件夹。重新启动应用程序,它将运行。