-
-
Notifications
You must be signed in to change notification settings - Fork 173
gen_snapshot_linux_x64: cannot execute binary file: Exec format error #87
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
Comments
For the step of: Building the app.so (for running your app in Release/Profile mode), is a little bit confusing. Do you mind giving a walkthrough? And also, I built the kernel snapshot on Mac OS, do I expect to build Thank you! |
The Regarding the outputted Btw, that
The text I wrote in the readme was meant as a walktrough 😅 If you tell me what you find confusing I can try to clarify it |
Thanks. I think I got it. I can try to compile And I have another question. I run the Flutter app on And also, how can I quit the current flutter app and go back to the console? My current way is |
Exactly, that's the dart observatory. If you would enter this URL on a browser on the Pi, you would see it. "127.0.0.1" always means localhost, so if you enter that url on your Mac, it tries accessing :41511 on your mac, and that fails of course. There are 2 engine options that help us out here: The engine options are specified after the asset bundle path in the flutter-pi invocation, so with |
I tried putting |
Sorry, the engine options need to be I'll also add some instructions for this to the readme. |
I use the gen_snapshot_linux_x64 executable that you provide in the engine-binaries branch. However it does not work and it shows that it cannot execute binary file.
I used
chmod 777 gen_snapshot_linux_x64
too.The text was updated successfully, but these errors were encountered: