For questions specific to the Linux version of Flutter, an open-source UI software development kit created by Google. For general Flutter related questions use more generic `flutter` tag instead.
Questions tagged [flutter-linux]
36 questions
17
votes
3 answers
"/usr/bin/ld: cannot find -lstdc++: No such file or directory" on running flutter linux app
getting this error on flutter run for a linux desktop application
Running "flutter pub get" in proj... 5.3s
Launching lib/main.dart on Linux in debug mode...
CMake Error at /usr/share/cmake-3.22/Modules/CMakeTestCXXCompiler.cmake:62…

legacyO7
- 323
- 1
- 2
- 12
10
votes
5 answers
Flutter and Windows Subsystem for Linux
I have recently switched back from Ubuntu to Windows with Windows Subsystem for Linux using Ubuntu.
I want to get in touch with Flutter and would like to be able to use the bash for the Flutter-commands while developing on Windows.
Is that possible…

Daniel Braun
- 101
- 1
- 3
7
votes
3 answers
How to automate testing of Flutter application on Linux-Desktop via Github Actions CI
We want to make our integration tests work on Linux desktop (ubuntu-latest) via Github Actions.
The command is
flutter config --enable-linux-desktop
flutter test -d linux integration_test
But we always get an error:
Error waiting for a debug…

User Rebo
- 3,056
- 25
- 30
6
votes
4 answers
Flutter Desktop Linux build failed
When I try to build my app to Flutter Desktop its fail with this message:
Launching lib/main.dart on Linux in debug mode...
Exception: Build process failed
My configuration is:
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter…

Jacques Marques
- 81
- 1
- 6
5
votes
1 answer
Flutter linux build on Ubuntu 22.04 LTS CMake Error
I have flutter project and can be build successfully on Ubuntu 20.04. Now I want to build it on Ubuntu 22.04 but I got CMake Error.
CMake Error at /snap/flutter/111/usr/share/cmake-3.10/Modules/CMakeTestCXXCompiler.cmake:45 (message):
The C++…

Miftakhul Arzak
- 1,166
- 1
- 12
- 31
4
votes
0 answers
flutter build linux --> clang: error: linker command failed
"flutter build linux" output:
Building with sound null safety
clang: error: linker command failed with exit code 1 (use -v to see invocation) Building Linux application...
Build process failed
"flutter doctor -v"…

ArdeshirV
- 76
- 6
3
votes
1 answer
How to share flutter Linux desktop release application without uploading to Snap Store
I created a flutter Linux release application and I want to test that application on different Linux systems. How I can share my Linux Application with other users.

wahab sohail
- 161
- 1
- 12
3
votes
2 answers
Flutter for linux build fail
A linux build of any flutter application with linux enabled, results in the following error:
flutter run -d linux
Launching lib/main.dart on Linux in debug mode...
/snap/flutter/current/usr/bin/ld: warning:…

materoy
- 370
- 1
- 3
- 10
1
vote
0 answers
How does Flutter render desktop apps on Linux?
I'm curious about the underlying rendering process of Flutter desktop apps on Linux. As I understand, Flutter uses Skia for graphics rendering, but how does it interact with the Linux operating system to display the UI elements on the screen? Are…

Arbaz Shaikh
- 71
- 4
1
vote
1 answer
Debian package management - warning and error message
i'm trying to generate a debian file for a flutter project with flutter_to_debian lib but i meet 2 issues:
i have a warning. i don't understand why "The creator of a debian package has 100% access to every parts of the system it's installed"
i…

redDwarf
- 336
- 1
- 9
1
vote
1 answer
how to bundle flutter desktop assets into a single file for production build
after building the flutter project for desktop, flutter copies all asset files inside the assets directory into the build/flutter_assets/assets which are easily accessible and modifiable (which is not secure at all!), user can change the whole…

Koorosh Ghorbani
- 507
- 4
- 14
1
vote
1 answer
Flutter extremely slow on linux
Flutter application is extremely slow on linux. The performance tab shows 15fps and it never goes beyond that. I was unable to find any explanation or possible solution for this issue. Any suggestions?
clang version 10.0.0-4ubuntu1/
cmake version…

aminbhst
- 75
- 7
1
vote
0 answers
Flutterfire configuration for Desktop app
I am trying to build a Desktop app with Flutter and Firebase . I am not able to find how to run the configuration. The flutterfire configuration have only options for iOS,Android and Web. Can we update the firebase_options.dart to include Linux and…

J School
- 17
- 3
1
vote
1 answer
How to run a standalone linux app built with flutter?
I have built a linux app with flutter using : flutter build linux in my ubuntu VM.
My goal is to run this linux app in an embbeded device so i need to copy the required files to this device (running under linux) and then execute the equivalent of…

Tom3652
- 2,540
- 3
- 19
- 45
1
vote
2 answers
Not able to create flutter linux desktop application snapcraft build
I have developed a Linux desktop application with the help of flutter but now I am facing an error when I am trying to create the snapcraft build in #Flutter Project and the project is running perfectly when I am run on a Linux system . Please let…

Nikhil Deshmukh
- 11
- 2