-
Notifications
You must be signed in to change notification settings - Fork 28.6k
Build error on ubuntu 22.04 using snap #124011
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
Could you try installing the Android SDK? I have seen issues previously where just installing the Android SDK would fix some issues. Could you try that and let me know if that works for you? Also I do want to note, that Flutter currently doesn't fully support running on VMs. See #79237 for more information on it. |
Installing the Android SDK does not seem to make any difference. At first, I tried with installing the snap ( for the 2nd option
|
Could you try setting up the Android SDK completely? It would be easier with Android Studio, and is recommend |
If you insist. Installed android-studio from .zip on their site. Now:
Still the same error |
I'll label this issue for for visibility and insights from other team members |
Same here |
I don't know if it's related, but in the https://github.com/lichess-org/mobile repository, there is also a known issue with the |
I second this, the manual install of flutter fixed it for me too. I would want to add that it's not the first time that the snap install of flutter breaks the linux build for me. Side note.. For who gets into this situation. After deleting the snap and install flutter manually don't forget to remove the |
/cc @robert-ancell who I believe is familiar with the Flutter snap. |
Mentioned by @stuartmorgan in chat, but for issues with the Snap itself, please file an issue at https://github.com/canonical/flutter-snap/issues, so the maintainers are aware. |
I'm struggling to create a Snap file, and various methods aren't working due to a library issue. I discovered a helpful solution in Package:flutter_to_debian, which facilitates the creation of Debian files for Linux builds. It has proven useful for me. If you're looking to make an installer for a Linux app, you might want to give this a try. |
Uh oh!
There was an error while loading. Please reload this page.
I have (a VM) ubuntu 22.04 with flutter installed as a classic snap.
I tried to build and run my app (depending on media_kit)
The build fails with the error below, unable to link library because of missing symbols or libraries, I don't know.
This is an issue with the snap, because this is working fine, if flutter is installed by downloading the tarball. On archlinux, I never had such an issue.
The text was updated successfully, but these errors were encountered: