下载、编译Android源码
一、环境准备
- 1.安装ubuntu
- 2.安装完整版vi
sudo apt-get remove vim-common
sudo apt-get install vim
- 3.安装jdk1.6.0
chmod mkdir /usr/lib/jvm/java/
sudo chmod a+x /usr/lib/jvm/java/jdk-6u45-linux-x64.bin
sudo vi /etc/profile
export JAVA_HOME=/usr/lib/jvm/java/jdk1.6.0_45
export JRE_HOME=${JAVA_HOME}/jre
export CLASSPATH=.:${JAVA_HOME}/lib:${JRE_HOME}/lib
export PATH=$PATH:${JAVA_HOME}/bin:${JRE_HOME}/bin
source /etc/profile
java -version