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

Issue

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.

Solution

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

Answered By – Ersan Kolay

Leave a Comment