编译anroid 6.0.1_r77源码
Posted 寻步
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了编译anroid 6.0.1_r77源码相关的知识,希望对你有一定的参考价值。
[email protected]:~$ sudo apt-get install -y git flex bison gperf build-essential libncurses5-dev:i386 [email protected]:~$ sudo apt-get install libx11-dev:i386 libreadline6-dev:i386 libgl1-mesa-dev g++-multilib Reading package lists... Done [email protected]:~$ sudo apt-get install tofrodos python-markdown libxml2-utils xsltproc zlib1g-dev:i386 Reading package lists... Done [email protected]:~$ sudo apt-get install dpkg-dev libsdl1.2-dev libesd0-dev Reading package lists... Done [email protected]:~$ sudo apt-get install git-core gnupg flex bison gperf build-essential Reading package lists... Done [email protected]:~$ sudo apt-get install zip curl zlib1g-dev gcc-multilib g++-multilib Reading package lists... Done [email protected]:~$ sudo apt-get install libc6-dev-i386 Reading package lists... Done [email protected]:~$ sudo apt-get install lib32ncurses5-dev x11proto-core-dev libx11-dev Reading package lists... Done [email protected]:~$ sudo apt-get install lib32z-dev ccache Reading package lists... Done Building dependency tree [email protected]:~$ sudo apt-get install libgl1-mesa-dev libxml2-utils xsltproc unzip m4 Reading package lists... Done Building dependency [email protected]:~$ echo export USE_CCACHE=1 >> ~/.bashrc [email protected]:~$ cd srcandroid/ [email protected]:~/srcAndroid$ ls abi bionic build dalvik development docs external frameworks libcore Makefile packages platform_testing sdk tools art bootable cts developers device down.sh extract-qcom-hammerhead.sh hardware libnativehelper ndk pdk prebuilts system vendor [email protected]:~/srcAndroid$ prebuilts/misc/linux-x86/ccache/ccache -M 50G [email protected]:~/srcAndroid$ sudo apt-get install curl Reading package lists...
以上是关于编译anroid 6.0.1_r77源码的主要内容,如果未能解决你的问题,请参考以下文章
Repo下载编译AOSP源码:基于Ubuntu 21.04,android-12.1.0_r27