ubuntu11.10 64位下载android4.1

 

Google android官网:http://source.android.com/source/initializing.html

 android4.0.1代码下载地址  http://blog.csdn.net/innost/article/details/7525205


       1.安装JDK

                    Java 6: for Gingerbread and newer

 $ sudo add-apt-repository "deb http://archive.canonical.com/ lucid partner" $ sudo apt-get update $ sudo apt-get install sun-java6-jdk 
 2、安装依赖包
 sudo apt-get install git-core gnupg flex bison gperf build-essential zip curl zlib1g-dev libc6-dev lib32ncurses5-dev ia32-libs x11proto-core-dev libx11-dev lib32readline5-dev lib32z-dev libgl1-mesa-dev g++-multilib mingw32 tofrodos python-markdown libxml2-utils xsltproc
 

On Ubuntu 11.10:

 $ sudo apt-get install libx11-dev:i386 
 3、安装repo
 $ mkdir ~/bin $ PATH=~/bin:$PATH 
 $ curl https://dl-ssl.google.com/dl/googlesource/git-repo/repo > ~/bin/repo $ chmod a+x ~/bin/repo 
 
 4、下载 
 $ mkdir WORKING_DIRECTORY $ cd WORKING_DIRECTORY 
   $ repo init -u https://android.googlesource.com/platform/manifest 
 $ repo sync 
 
     5、编译源码
 

你可能感兴趣的:(ubuntu11.10 64位下载android4.1)