ubuntu-android-download(Ubuntu Android下载) As an open source mobile phone operating system Android, once launched, it has attracted great concern in the industry. Google now Android source code version number is . More and more enthusiasts began to join the Android source code research, the following on Ubuntu , if you get the latest Android source code. 1. installing GIT and gnupg. input $sudo apt-get install git-core gnupg 2. install other tools $sudo apt-get install flex bison GPERF libsdl-dev libesd0-dev -dev build-essential zip zlib1g-dev curl libncurses5-dev 3. install Valgrind tools $sudo apt-get install Valgrind 4. install Java SDK $sudo apt-get install sun-java6-jdk $sudo apt-get install sun-java5-jdk $cd /etc/alternatives $sudo RM Javadoc $sudo ln -s /usr/lib/jvm/java--sun/man/man1/ $sudo ln -s /usr/lib/jvm/java--sun/bin/javadoc Javadoc Android only supports more than versions of Java SDK, and the version of the Java SDK in Android SDK Java doc pile time errors, here in my solution to install Java SDK , and then install Java SDK , then Java SDK system link to Java SDK , is only Javadoc and link to Java SDK , the benefits of doing so is pile the Android source code and Android application development, using java SDK , SDK doc only in the piler, using java SDK version of Javadoc and . 5. download repo tools $mkdir $HOME/bin $ join Export PATH=$HOME/bin:$PATH $ $curl ./repo > $HOME/bin/repo $CD $HOME/bin $Chmod +x repo 6. export Android project $CD $MKDIR Android $CD Android $repo init -u git://./platform/ plete the configuration of the prompt so that the directory we built has already been linked to the Android Google source library. 7. start downloading Android platform source code $repo sync Because the Android source code is very large, now ple