ardera / flutter-pi

A light-weight Flutter Engine Embedder for Raspberry Pi that runs without X.
MIT License
1.48k stars 153 forks source link

Freeze screen #391

Closed thefrankk closed 2 months ago

thefrankk commented 2 months ago

Hi. Im trying to run my own app using an embedded system with flutter pi. I was able to run flutter-gallery and i notice that the folder structure is:

my_app
-data 
   -flutter_assets
   -icuadtl.dat
-lib
  -libapp.so
  -libflutter_engine.so

I was able to do every step of the README, but, when I have to run the app with flutter-pi --release /path/to/my_app it freezes the complete screen, and i have to reboot to start again. I think I missing something, before to get the freezes, I was getting errors about different snapshot versions, but I handle that error but downgrading the flutter-sdk and flutter-engine to the flutter-pi version that I'm using.

What I'm doing wrong? Thank you, Franco

thefrankk commented 2 months ago

I was able to handle by myself. If any one encounter with a problem like this, check the compatibility of the libraries and check the code too.