MixinNetwork / flutter-plugins

🧱 Flutter plugins used in Mixin Messenger.
MIT License
438 stars 186 forks source link

[desktop_webview_window][linux] Does not compile #159

Open marcinczepielahumanit opened 1 year ago

marcinczepielahumanit commented 1 year ago

Hi, I have a problem with compiling an app after adding desktop_webview_window: ^0.1.6.

My Linux version is Pop!_OS 20.04 LTS (based on Ubuntu 20.04 LTS)

Command

sudo apt install webkit2gtk-4.0

does not work, it returns

Reading package lists... Done Building dependency tree
Reading state information... Done E: Unable to locate package webkit2gtk-4.0 E: Couldn't find any package by glob 'webkit2gtk-4.0'

After running command

apt list --installed

I can see on the list of packages

... libwebkit2gtk-4.0-37/focal-updates,focal-security,now 2.36.8-0ubuntu0.20.04.1 amd64 [installed] libwebkit2gtk-4.0-dev/focal-updates,focal-security,now 2.36.8-0ubuntu0.20.04.1 amd64 [installed] ... gir1.2-webkit2-4.0/focal-updates,focal-security,now 2.36.8-0ubuntu0.20.04.1 amd64 [installed,automatic] ...

It would be great if someone can point out what i have done wrong 😄

Compiling error:

flutter run lib/main.dart -v

image

boyan01 commented 1 year ago

You can try this. (use apt-get instead of apt)

sudo apt-get install webkit2gtk-4.0

I'll update it to right apt package name lately.