puro icon indicating copy to clipboard operation
puro copied to clipboard

Can't load Kernel binary: Invalid SDK hash.

Open BirjuVachhani opened this issue 6 months ago • 2 comments

I am getting hit by this error EVERY SINGLE DAY. Sometimes 3 times a day. The only solution that works is deleting it and reinstalling. That kinda beats the purpose of this tool. I am saving disk space on multiple Flutter versions but wasting so much internet data redownloading it every time. This is happening with the latest release of puro.

I love this tool but this is very frustrating as this randomly happens while I am in middle of debugging and I have restart everything. It is very disruptive.

Please fix this! 🙏🏻

I am on Macbook M1 Pro. Puro 1.4.11

BirjuVachhani avatar Aug 26 '25 08:08 BirjuVachhani

Hi,

I was able to reproduce the same issue. Steps:

  1. Invoke any flutter command.
  2. interrupt/terminate it via ctrl+c.
  3. Boom next time you get invalid SDK hash.

@BirjuVachhani could you please confirm with above steps once at your end?

dhruvanbhalara avatar Oct 04 '25 10:10 dhruvanbhalara

Yes, that's what happens to me as well.

BirjuVachhani avatar Oct 04 '25 10:10 BirjuVachhani

Any update on this?

BirjuVachhani avatar Nov 13 '25 03:11 BirjuVachhani

One insight I can give here is this:

  1. I use puro on my macbook (M1 Pro) which works just fine. I see no issues at all. Puro is installed on the same storage drive as the OS.
  2. I used to use puro on my M4 mac mini where I am facing this issue. Puro was installed on external SSD which always stays connected. Then I tried installing puro on the same storage disk as the OS but the issue persists.

I hope this helps!

BirjuVachhani avatar Nov 13 '25 03:11 BirjuVachhani

This implies the flutter engine is getting out of sync with the cached snapshot, which is weird, I will try to take a look.

pingbird avatar Nov 27 '25 05:11 pingbird