Skip to content

Conversation

@rodrigobastosv
Copy link
Contributor

I was getting error running my project with flutter linux. Very similar error to this one flutter/flutter#71557.

This answer within the same thread solved my issue flutter/flutter#71557 (comment)

Presubmit checklist

@domesticmouse
Copy link
Contributor

I'm curious which version of Flutter you are running? Looking at the linux/CMakeLists.txt file generated by Flutter 2.8.1 contains no references to lzma. I have vague recollections that we deleted it reasonably recently.

@rodrigobastosv
Copy link
Contributor Author

Hi @domesticmouse , that's strange, i'm running Flutter 2.8.1.

Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 2.8.1, on Ubuntu 20.04.2 LTS 5.11.0-43-generic, locale en_US.UTF-8)
[✓] Android toolchain - develop for Android devices (Android SDK version 32.0.0)
[✓] Chrome - develop for the web
[✓] Linux toolchain - develop for Linux desktop
[✓] Android Studio (version 2020.3)
[✓] VS Code
[✓] Connected device (2 available)

• No issues found!

@domesticmouse
Copy link
Contributor

Context: flutter/flutter#78415

@domesticmouse
Copy link
Contributor

Additional context, I ran up a new Flutter Linux desktop app in a freshly created Ubuntu 20.04.3 LTS under WSL2 (Win11) and it works fine with the instructions as is.

I'm curious what Linux distribution and version you are running. We may need to add a note or call out about liblzma might be required or some such.

@rodrigobastosv
Copy link
Contributor Author

I'm running a fresh Ubuntu 20.04.1. Not under WSL2

@domesticmouse
Copy link
Contributor

Do you want to modify your PR to add liblzma as a might be required addition?

@rodrigobastosv
Copy link
Contributor Author

Just added!

@domesticmouse
Copy link
Contributor

@rodrigobastosv
Copy link
Contributor Author

Fixed!

@domesticmouse
Copy link
Contributor

PTAL @sfshaza2

Copy link
Contributor

@sfshaza2 sfshaza2 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@sfshaza2 sfshaza2 merged commit 5d42db5 into flutter:main Jan 28, 2022
AlexV525 pushed a commit to AlexV525/flutter-website that referenced this pull request Mar 26, 2022
* adding linux dependency

* adding might be

* fixing broken link
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants