具体的操作步骤,可在Android官网查看。
http://source.android.com/source/initializing.html
首先安装dpkg-dev
sudo apt-get install dpkg-dev
sudo apt-get install git-core gnupg flex bison gperf build-essential zip curl zlib1g-dev gcc-multilib g++-multilib libc6-dev-i386 lib32ncurses5-dev x11proto-core-dev libx11-dev lib32z-dev ccache libgl1-mesa-dev libxml2-utils xsltproc unzip
sudo apt-get install openjdk-7-jdk sudo update-alternatives --config java sudo update-alternatives --config javac
即可。
时间: 2024-11-10 07:37:46