antler119 / system_tray

A Flutter package that makes it easy to customize and work with your Flutter desktop app's system tray.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Exception: Unable to generate build files

kherldhussein opened this issue · comments

Tried to run example given on Ubuntu 20.04.
result CMake Error at /snap/flutter/111/usr/share/cmake-3.10/Modules/FindPkgConfig.cmake:419 (message): A required package was not found Call Stack (most recent call first): /snap/flutter/111/usr/share/cmake-3.10/Modules/FindPkgConfig.cmake:597 (_pkg_check_modules_internal) flutter/ephemeral/.plugin_symlinks/system_tray/linux/CMakeLists.txt:10 (pkg_check_modules)

I had a similar problem. For me was that I didn't install the following packages:

sudo apt-get install appindicator3-0.1 libappindicator3-dev

I discovered that by executing flutter run with --verbose flag.