3 ms·
I tried it recently on Linux, it was just a matter of: flutter channel dev flutter upgrade flutter config --enable-linux-desktop The app then built with
by cbolton 6y ago
I tried it recently on Linux, it was just a matter of:
flutter channel dev
flutter upgrade
flutter config --enable-linux-desktop
The app then built without issue, and executed fine... except for a rather annoying bug: nothing was painted in the window until I resized it.
- malkia 6y agosometimes you may need to recrate the "linux" folder - either by "flutter create ." or "rm -rf linux", "flutter create ." (same for other folders, like "web", "windows", etc.) - ideally there should not be code there that can't be auto-generated (but not always)