Skip to content

[desktop_webview_window][linux] Does not compile #159

Open
@marcinczepielahumanit

Description

@marcinczepielahumanit

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions