giannik28
giannik28

Reputation: 463

Can't run flutter project due to error VERBOSE.dart error, isolate error

When I try to run my flutter-project code on the iOS simulator in VS code, I get the following error on the console:

Launching lib/main.dart on iPhone 11 Pro in debug mode...
lib/main.dart:1
Xcode build done.                                           24.4s
[VERBOSE-2:shell.cc(103)] Dart Error: Can't load Kernel binary: Invalid SDK hash.
[VERBOSE-2:dart_isolate.cc(171)] Could not prepare isolate.
[VERBOSE-2:runtime_controller.cc(415)] Could not create root isolate.
[VERBOSE-2:shell.cc(588)] Could not launch engine with configuration.

Thanks in advance.

Upvotes: 1

Views: 3907

Answers (3)

Sarfaraz Khan
Sarfaraz Khan

Reputation: 1

Open terminal and run: $ flutter channel beta "it will install beta version, once installation is done, try it!"

"In case you willing to change the beta version to stable version you can use the following:"

$ flutter channel stable

Upvotes: 0

Douglas
Douglas

Reputation: 39

Hi!

In my case, the error was caused by the forced shutdown of the IDE.

After manually selecting the libraries, I identified the one that was causing the problem, updated the project without it, and updated the project again with it.

With that the problem was solved.

Hope I have helped, if yes, please flag.

Upvotes: 1

Ersan Kolay
Ersan Kolay

Reputation: 265

Could you delete the bin/cache folder, then run app

Upvotes: 0

Related Questions