ardera / flutter-pi

A light-weight Flutter Engine Embedder for Linux Embedded that runs without X11 or Wayland.
MIT License
1.63k stars 162 forks source link

Directory Structure after build #436

Closed jebos closed 3 months ago

jebos commented 3 months ago

I was playing around with flutter-pi and I found that the flutter-pi on my target assumes a directory structure like

app/data/flutter-assets app/lib/

while when building the resulting bundle on my machine creates a structure where everything is placed in flutter-assets.

Did I miss to read the correct documentation? Is this a bug? Do I miss a step, or do I run incompatible versions of flutter-pi?

-> when i copy the files manually to the expected locations it works as expected.

Thanks alot.

ardera commented 3 months ago

How did you build flutter-pi? The directory structure you describe is supported by flutter-pi, but it's not the default. It only gets activated when configuring with -DFILESYSTEM_LAYOUT=meta-flutter, which is used when building flutter-pi for yocto with https://github.com/meta-flutter/meta-flutter.git.

jebos commented 3 months ago

Thanks. Yes I did build a yocto with meta flutter.