Skip to content

can I build app on raspberry pi 4? #168

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
icecreamzhao opened this issue Apr 4, 2021 · 2 comments
Closed

can I build app on raspberry pi 4? #168

icecreamzhao opened this issue Apr 4, 2021 · 2 comments

Comments

@icecreamzhao
Copy link

I get this error when execute flutter build apk or flutter build bundle:

Snapshot not compatible with the current VM configuration: the snapshot requires
'release no-dwarf_stack_traces_mode no-causal_async_stacks lazy_async_stacks
lazy_dispatchers use_bare_instructions no-dedup_instructions no-"asserts"
"use_field_guards" "use_osr" no-code-comments x64-sysv no-null-safety' but the
VM has 'release no-dwarf_stack_traces_mode no-causal_async_stacks
lazy_async_stacks lazy_dispatchers use_bare_instructions no-dedup_instructions
no-"asserts" "use_field_guards" "use_osr" no-code-comments arm64-sysv
no-null-safety'
@ardera
Copy link
Owner

ardera commented Apr 4, 2021

This is not really flutter-pi related, but in the readme it says you can't use a Pi as your development machine. If you look at the error message you'll find that the snapshot (= the flutter tool) requires x64-sysv but the dart VM trying to execute the flutter tool uses arm64-sysv.

@ardera ardera closed this as completed Apr 4, 2021
@icecreamzhao
Copy link
Author

This is not really flutter-pi related, but in the readme it says you can't use a Pi as your development machine. If you look at the error message you'll find that the snapshot (= the flutter tool) requires x64-sysv but the dart VM trying to execute the flutter tool uses arm64-sysv.

OK, thanks a lot.

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