-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Closed
Labels
area-vmUse area-vm for VM related issues, including code coverage, and the AOT and JIT backends.Use area-vm for VM related issues, including code coverage, and the AOT and JIT backends.customer-flutter
Description
When debugging the following error message, it would be nice if the log said what kernel binary format version it expected, and what it found instead.
[ +46 ms] [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(571)] Could not launch engine with configuration.
sdk/runtime/vm/kernel_binary.cc
Lines 125 to 129 in da43433
| if ((formatVersion < kMinSupportedKernelFormatVersion) || | |
| (formatVersion > kMaxSupportedKernelFormatVersion)) { | |
| if (error != nullptr) { | |
| *error = kKernelInvalidBinaryFormatVersion; | |
| } |
Metadata
Metadata
Assignees
Labels
area-vmUse area-vm for VM related issues, including code coverage, and the AOT and JIT backends.Use area-vm for VM related issues, including code coverage, and the AOT and JIT backends.customer-flutter