sony / flutter-elinux

Flutter tools for embedded Linux (eLinux)
BSD 3-Clause "New" or "Revised" License
429 stars 43 forks source link

Not running in AOT mode but could not resolve the kernel binary. #151

Closed Lynchez closed 1 year ago

Lynchez commented 1 year ago

run with x11 flutter-elinux run -d elinux-x11 its work but when i try to get flutter-elinux build elinux --debug --target-backend-type=x11 it gives this error

embedder.cc (1218): 'FlutterEngineInitialize' returned 'kInvalidArguments'. Not running in AOT mode but could not resolve the kernel binary. [ERROR][RunWithEntrypoint(255)] Failed to start Flutter engine: error 2 Failed to create view controller.

flutter-elinux doctor seems fine. Device is Jetson nano jetpack 4.6

the other backend types gives error too /dev/dri/card0 Failed to connect to the Wayland display.

HidenoriMatsubayashi commented 1 year ago

run with x11 its work but when i try to get build flutter-elinux build elinux --debug --target-backend-type=x11 it gives this error

I'm not sure, that is a command to build (that's not a command to run). Can you please share whole steps and logs?

Lynchez commented 1 year ago

I can run only with flutter-elinux run -d elinux-x11 the other running options gives error. But when i try to get build with this command flutter-elinux build elinux --debug --target-backend-type=x11 it gives error too.

embedder.cc (1218): 'FlutterEngineInitialize' returned 'kInvalidArguments'. Not running in AOT mode but could not resolve the kernel binary. [ERROR][RunWithEntrypoint(255)] Failed to start Flutter engine: error 2 Failed to create view controller.

HidenoriMatsubayashi commented 1 year ago

Sorry for the late response. I confirmed 'flutter-elinux build elinux --debug --target-backend-type=x11' worked fine on Raspberry Pi4. Please try the latest version.