首页 > 代码库 > 编译anroid 6.0.1_r77源码

编译anroid 6.0.1_r77源码

 

shanyu@ubuntu:~$ sudo apt-get install -y git flex bison gperf build-essential libncurses5-dev:i386shanyu@ubuntu:~$ sudo apt-get install libx11-dev:i386 libreadline6-dev:i386 libgl1-mesa-dev g++-multilibReading package lists... Doneshanyu@ubuntu:~$ sudo apt-get install tofrodos python-markdown libxml2-utils xsltproc zlib1g-dev:i386Reading package lists... Doneshanyu@ubuntu:~$ sudo apt-get install dpkg-dev libsdl1.2-dev libesd0-devReading package lists... Doneshanyu@ubuntu:~$ sudo apt-get install git-core gnupg flex bison gperf build-essentialReading package lists... Doneshanyu@ubuntu:~$ sudo apt-get install zip curl zlib1g-dev gcc-multilib g++-multilibReading package lists... Doneshanyu@ubuntu:~$ sudo apt-get install libc6-dev-i386Reading package lists... Doneshanyu@ubuntu:~$ sudo apt-get install lib32ncurses5-dev x11proto-core-dev libx11-devReading package lists... Doneshanyu@ubuntu:~$ sudo apt-get install lib32z-dev ccacheReading package lists... DoneBuilding dependency tree       shanyu@ubuntu:~$ sudo apt-get install libgl1-mesa-dev libxml2-utils xsltproc unzip m4Reading package lists... DoneBuilding dependency shanyu@ubuntu:~$ echo export USE_CCACHE=1 >> ~/.bashrcshanyu@ubuntu:~$ cd srcAndroid/shanyu@ubuntu:~/srcAndroid$ lsabi  bionic    build  dalvik      development  docs     external                    frameworks  libcore          Makefile  packages  platform_testing  sdk     toolsart  bootable  cts    developers  device       down.sh  extract-qcom-hammerhead.sh  hardware    libnativehelper  ndk       pdk       prebuilts         system  vendorshanyu@ubuntu:~/srcAndroid$ prebuilts/misc/linux-x86/ccache/ccache -M 50Gshanyu@ubuntu:~/srcAndroid$ sudo apt-get install curlReading package lists...

 

编译anroid 6.0.1_r77源码