-
Notifications
You must be signed in to change notification settings - Fork 131
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
Error while initializing the Dart VM: Snapshot not compatible with the current VM configuration (on x64 hosts) #246
Comments
Thank you for your report. This is due to See also: sony/flutter-elinux#70 |
@HidenoriMatsubayashi can you explain the work around? Debug mode has terrible performance and testing with it for now is very difficult. |
Can you replace |
Is it strange that I can observe the issue on my x64 desktop but not when compiling on my arm devices 🤔 (with the pre-built snapshots) |
Yes, that's right. This problem will happen when you build on x64 hosts. When building on an arm64 host, |
I don't fully understand how to do this because I'm not really configuring a lot of stuff. All I do is provide an arm64 sysroot and I run build, how can I do this? |
LD_LIBRARY_PATH=./flutter-embedded-linux/build/ ./flutter-embedded-linux/build/flutter-client -b ~/pj/sample/build/elinux/x64/release/bundle
when i run the flutter app
it shows the follow error
[FATAL:flutter/runtime/dart_vm_initializer.cc(22)] Error while initializing the Dart VM: Snapshot not compatible with the current VM configuration: the snapshot requires 'product no-code_comments no-dwarf_stack_traces_mode lazy_async_stacks no-lazy_dispatchers use_bare_instructions dedup_instructions no-asserts x64-sysv compressed-pointers null-safety' but the VM has 'product no-code_comments no-dwarf_stack_traces_mode lazy_async_stacks no-lazy_dispatchers use_bare_instructions dedup_instructions no-asserts x64-sysv no-compressed-pointers null-safety'
Aborted (core dumped)
The text was updated successfully, but these errors were encountered: