Skip to content

Can't load Kernel binary: Invalid SDK hash #205

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

Closed
PMG-Zachary opened this issue Oct 27, 2021 · 1 comment
Closed

Can't load Kernel binary: Invalid SDK hash #205

PMG-Zachary opened this issue Oct 27, 2021 · 1 comment

Comments

@PMG-Zachary
Copy link

I was running flutter-pi just fine until recently, I had an issue with the OS image I was using and had to flash a new SD card.

I've just installed a fresh version of Raspberry Pi OS Lite (up to date) and installed Flutter-pi and its engine binaries according to instructions. On my development PC I have flutter on the stable channel, version 2.5.3. The Pi I'm using is a Raspberry Pi 3 Model B.

When I try to build my app and run it with flutter-pi, I get the following output:

detected VideoCore IV as underlying graphics chip, and VC4 as the driver.
Reporting modified GL_EXTENSIONS string that doesn't contain non-working extensions.
[ERROR:flutter/shell/common/shell.cc(93)] Dart Error: Can't load Kernel binary: Invalid SDK hash.
[ERROR:flutter/runtime/dart_isolate.cc(170)] Could not prepare isolate.
[ERROR:flutter/runtime/runtime_controller.cc(382)] Could not create root isolate.
[ERROR:flutter/shell/common/shell.cc(576)] Could not launch engine with configuration.
flutter: Observatory listening on http://127.0.0.1:37555/2Yecdwou91w=/

I've double checked that all of my raspi-config settings are correct, confirmed that everything for flutter-pi is installed correctly and up-to-date, and even tried downgrading Flutter on my development PC to a couple of different versions, but I still get these errors.

@PMG-Zachary
Copy link
Author

I wasn't able to resolve this, but I was able to fix the issue with my old OS image and can use flutter-pi on there again.

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