How to use audioplayers_linux_plugin.so in a Snap build? #1910
Unanswered
munch-software
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Error Message
When building a Snap from my Flutter project, I encounter the following error on run:
Flutter Snap Build Error:
g_type_plugin_useAssertion FailedDebugging Output
Possible Cause
I suspect this is due to a mismatch of GTK libraries. When checking linked libraries, I see:
Attempts to Fix
So
libaudioplayers_linux_plugin.souses system packages instead of the gnome-platform.Not sure why libflutter shows Not Found since it is available: /snap/example/x1/lib/libflutter_linux_gtk.so
Snapcraft yaml:
Beta Was this translation helpful? Give feedback.
All reactions