gpt4 book ai didi

android - 无法安装 Ubuntu 构建 Android 开源项目所需的包

转载 作者:行者123 更新时间:2023-11-30 03:58:48 29 4
gpt4 key购买 nike

我正在 Ubuntu 10.0.4 上构建 Android 开源项目。我尝试通过执行以下命令(从 http://source.android.com/source/initializing.html 复制)来安装所需的包,但我不能。

    sudo apt-get install git-core gnupg flex bison gperf build-essential \
zip curl zlib1g-dev libc6-dev lib32ncurses5-dev ia32-libs \
x11proto-core-dev libx11-dev lib32readline5-dev lib32z-dev \
libgl1-mesa-dev g++-multilib mingw32 tofrodos python-markdown \
libxml2-utils xsltproc

错误信息:

E: Couldn't find package lib32ncurses5-dev

E: Couldn't find package lib32readline5-dev

E: Couldn't find package lib32z-dev

E: Couldn't find package mingw32

最佳答案

解决方案构建Android操作系统所需的包列表是错误的。正确的包是:

$ sudo apt-get install git-core gnupg flex bison gperf build-essential \
zip curl zlib1g-dev libc6-dev lib64ncurses5-dev \ x11proto-core-dev
libx11-dev lib64readline5-dev lib64z-dev \ libgl1-mesa-dev
g++-multilib tofrodos

这是 Android 入门教程的一个错误。只想分享这个。

关于android - 无法安装 Ubuntu 构建 Android 开源项目所需的包,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/12893278/

29 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com