编译android源码前的准备

sudo apt-get install git-core gnupg flex bison gperf build-essential \
  zip curl libc6-dev libncurses5-dev:i386 x11proto-core-dev \
  libx11-dev:i386 libreadline6-dev:i386 libgl1-mesa-glx:i386 \
  libgl1-mesa-dev g++-multilib mingw32 tofrodos \
  python-markdown libxml2-utils xsltproc zlib1g-dev:i386

或者去

http://source.android.com/source/downloading.html

中查看,进入方法

1.developer.android.com

2.点击右上角菜单,点击Android Open Source Project

3.点击Getting the Source

你可能感兴趣的:(android)