Skip to content

trouble running app in debug mode #160

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
mortenboye opened this issue Mar 17, 2021 · 1 comment
Closed

trouble running app in debug mode #160

mortenboye opened this issue Mar 17, 2021 · 1 comment

Comments

@mortenboye
Copy link

I'm setting up a new RPi CM4 to run Flutter-Pi and have gone through the motions listed in the readme.
However, when running the app on device I get this error in the console:

[flutter-pi] The flutter engine was built for release (AOT) mode,
             but flutter-pi was not started up in release mode. 
             Either you swap out the libflutter_engine.so 
             with one that was built for debug mode, or you start
             flutter-pi with the --release flag and make sure
             a valid "app.so" is located inside the asset bundle
             directory.

Question is: how do I swap out libflutter_engine?

@ardera
Copy link
Owner

ardera commented Mar 17, 2021

Oops, my bad. Somehow must've copied the profile engine over the debug engine while I updated my build scripts.
Fixed it now

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants