flutter报错 : Can't load Kernel binary: Invalid kernel binary format version.

[VERBOSE-2:shell.cc(93)] Dart Error: Can't load Kernel binary: Invalid kernel binary format version.
[VERBOSE-2:dart_isolate.cc(170)] Could not prepare isolate.
[VERBOSE-2:runtime_controller.cc(382)] Could not create root isolate.
[VERBOSE-2:shell.cc(576)] Could not launch engine with configuration.

找到flutter目录 进入bin目录下 删除 cache 文件 ,关闭工程从新打开,等待依赖下载完成
在 flutter clean 一下

你可能感兴趣的:(flutter报错 : Can't load Kernel binary: Invalid kernel binary format version.)