构建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.安卓还可以,有没有配置错误?
发布于 2019-05-24 10:13:31
我删除了Flutter安装目录中的bin/cache目录,然后尝试flutter doctor -v并重试,成功!
希望对其他人有用。
发布于 2019-07-18 06:57:54
是的,看起来sdk已经被修改了。删除flutter/bin/cache文件夹。重新启动应用程序,它将会运行。
https://stackoverflow.com/questions/56272489
复制相似问题