首页 > 解决方案 > 在 Ubuntu 上构建 Flutter 引擎

问题描述

我使用 Ubuntu 20.04。当我运行https://github.com/flutter/flutter/wiki/Setting-up-the-Engine-development-environment步骤 7

 sudo ./build/install-build-deps-android.sh
ERROR: Only Ubuntu 12.04 (precise), 14.04 (trusty),  14.10 (utopic), 15.04 (vivid), 16.04 (xenial), 18.04 (bionic),  and Debian (rodete and stretch) are currently supported

医生说:

If you're on Linux, run the following. Note: These scripts are distro- and version-specific, so are not guaranteed to work on every configuration. If they fail, you may need to find comparable packages to the ones that weren't found.

根据文档,我如何知道哪些软件包不兼容。

标签: flutterdartchromium

解决方案


也许您可以修改该 install-build-deps-android.sh 脚本并强制 20.04 并尝试继续构建过程?


推荐阅读