type hereCMake Error at /snap/flutter/130/usr/share/cmake-3.16/Modules/FindPkgConfig.cmake:463 (message):
A required package was not found
Call Stack (most recent call first):
/snap/flutter/130/usr/share/cmake-3.16/Modules/FindPkgConfig.cmake:643 (_pkg_check_modules_internal)
flutter/ephemeral/.plugin_symlinks/audioplayers_linux/linux/CMakeLists.txt:25 (pkg_check_modules)
我尝试使用audioplayer软件包播放音频文件,然后在尝试运行应用程序时出现此错误
2条答案
按热度按时间w6mmgewl1#
按照这里的说明安装Flutter,而不是使用Snap包。不幸的是,Snap包已知会导致这类问题。
dldeef672#
sudo apt-get安装--重新安装软件包配置cmake-data