Skip to content

Invalid SDK hash #202

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
jardis2010 opened this issue Oct 9, 2021 · 1 comment
Closed

Invalid SDK hash #202

jardis2010 opened this issue Oct 9, 2021 · 1 comment

Comments

@jardis2010
Copy link

Hi,
I am having the following errors when trying to run "flutter-pi <app_name>"

[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.

I already "git pull" the latest commit from GitHub for the flutter-pi installation.

My host pc (windows) flutter config is as follows:

Flutter 2.5.1 • channel stable • https://github.com/flutter/flutter.git
Framework • revision ffb2ecea52 (3 weeks ago) • 2021-09-17 15:26:33 -0400
Engine • revision b3af521a05
Tools • Dart 2.14.2

I also tried with Flutter 2.5.2 (then I noticed that engine binaries are build for version 2.5.1), but the error is the same.

Thank you in advance for help.

@jardis2010
Copy link
Author

jardis2010 commented Oct 13, 2021

Did the whole process again.
Got the error:
[flutter-pi] Could not create GBM Surface. gbm_surface_create_with_modifiers: Function not implemented

After setting the GPU memory to 64 (before it was 128), app start working - not sure if this was the reason.

PS: Still have the warning: [flutter-pi] WARNING: display has non-square pixels. Non-square-pixels are not supported by flutter.

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