Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

iOS&Flutter 混编问题分析 #26

Open
RicoLiu opened this issue Jun 13, 2023 · 0 comments
Open

iOS&Flutter 混编问题分析 #26

RicoLiu opened this issue Jun 13, 2023 · 0 comments

Comments

@RicoLiu
Copy link
Owner

RicoLiu commented Jun 13, 2023

在进行iOS真机调试时,项目工程编译未报错,但是启动运行后页面一直白屏,控制台输出如下信息:

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

解决方案:

删除Flutter安装目录中的bin/cache目录,然后运行

flutter doctor -v
flutter clean
flutter pub get
flutter build ios
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant