Open canewsin opened 2 weeks ago
Try building the flutter bundle in debug mode. Release (AOT) mode needs different flags in initialization, but I haven’t looked into that yet.
This is a debug build, in release mode files kernel and snapshot are completely missing completely.
Also I see the flutter_embedder.h
is changed, reporting this just for sake because of how the header file is layout it might not be the issue.
The structs have some primitive kind of versioning (they include the byte size as the first element), so the layout is not the issue.
The basic problem is that the engine can't find the kernel binary that's supposed to be in the bundle you compiled. Maybe the path to the bundle is not correct?
Running
F:\TMP\RustTarget\debug\flutter_embedder.exe E:\FlutterProjs\flutter_app_embeded\build\flutter_assets