I am trying to use the FirebaseCoreDesktop and FirebaseAuthDesktop packages in my Flutter Project for linux (ubuntu). Unfortunatly when trying to run the App, I am getting the following Error.
CMake Error at /snap/flutter/126/usr/share/cmake-3.10/Modules/FindPkgConfig.cmake:419 (message):
A required package was not found
Call Stack (most recent call first):
/snap/flutter/126/usr/share/cmake-3.10/Modules/FindPkgConfig.cmake:597 (_pkg_check_modules_internal)
flutter/ephemeral/.plugin_symlinks/desktop_webview_auth/linux/CMakeLists.txt:21 (pkg_check_modules)
Thanks for your help in advance.
2
Answers
Found the solution.
Run
and I had to uninstall flutter(snap) and install the Flutter git version in directory of your choice.
As said in DesktopWebviewAuth. And then change flutter SDK path to the one you cloned and remove the build folder from my project.
if you use fedora
and reboot your computer.