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 (Channel master, 1.19.0-2.0.pre.142, on Linux, locale pt_BR.UTF-8)
[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
[✓] Linux toolchain - develop for Linux desktop
[✓] Android Studio (version 3.6)
[✓] Connected device (1 available)
Can anyone know how to fix this?
Thanks
I had the same issue.
First I ran
flutter run -v -d linux, I followed the log and I noticed it an OS ErrorSo, I firstly switch to the master channel (solution for some people), run flutter upgrade and I was getting the same error.
My working dir is
/home/xylia/Flutter\ Apps/github_pagesand I felt it might be the space from the folder name (I had an issue like that once), so I created a new folder without space and it worked!I am not totally sure if changing channel to master helped but there is no harm in doing it