-
-
Notifications
You must be signed in to change notification settings - Fork 173
How to update to 3.0 #248
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
Perhaps try the following :
|
I run into the same issue. |
I just want to clarify , this is with regards to AOT modes (profile & release) , and not a issue when running in debug mode ? |
@pieter-scholtz yes, in my case it was only with the additional steps for the release build. |
@zoechi Thanks , makes sense , when I first got the error it haunted me for a few weeks : D |
Well i found out too, that problem is dart, but is the problem on dev machine, or on rpi production machine? |
It's on the dev machine when I try to create a release build, before rsyncing it to RPi |
Yes exactly , the reason I suggested deleting /flutter/bin/cache (On the dev machine) , is because sometimes when switching flutter SDK versions using just git , the dart stuff in the cache does not get updated, if you delete it , the correct version will be downloaded automatically (I think running |
Well i have deleted Anyway thx for replies :). |
Before you do that , I would recommend you check that you have the right engine libraries on the pi , perhaps delete the old ones from |
The engine binaries need to be installed on the pi, you don't need to install anything on your development machine except the flutter SDK |
@ardera @pieter-scholtz it looks like that problem was engine-binaries on rpi, now it is working thx :) |
Hello i have been successfuly using flutter-pi with flutter 2.10, i have updated to 3.0 and i get following error during startup.
Error while initializing the Dart VM: Wrong full snapshot version, expected 'd56742caf7b3b3f4bd2df93a9bbb5503' found '1441d6b13b8623fa7fbf61433abebd31'
I had pulled latest engine binaries on development machine and called ./install.sh
I had called flutter upgrade on development machine.
I had pulled latest flutter-pi changes on raspberry os and removed build directory in flutter-pi and called following commands.
mkdir build && cd build
cmake ..
make -j
nproc
sudo make install
What am i missing?
Thank you
The text was updated successfully, but these errors were encountered: