flutter - 在 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.
根据文档,我如何知道哪些软件包不兼容。
解决方案
也许您可以修改该 install-build-deps-android.sh 脚本并强制 20.04 并尝试继续构建过程?
推荐阅读
- php - 如何从相关表中获取所有行,包括数据透视表中的列?
- jakarta-ee - 服务器崩溃和重启时的 CDI 事件观察器处理
- javascript - 使这个 dob 计算器工作的步骤是什么?JavaScript
- ef-core-2.1 - abp.io 项目模板中的多个 DbContext
- here-api - 如何为我的 getroute 请求获取 RouteId?
- java - 为什么在简单的现实生活中需要在 java 中重载?
- angular - ag-grid 渲染导致从事件启动的服务组件未定义
- javascript - 在 Object.keys 映射不起作用后设置状态
- javascript - 在谷歌的js中出现错误未定义
- android - 将 Android Studio 升级到 3.3 版后无法选择 JNI 构建变体