【Android开发】构建Android源码编译环境

原文:http://android.eoe.cn/topic/android_sdk

构建Android源码编译环境

 1   2   3   4   5   6   7   8   9  10  11  12  13  14  15  16  17  18
 $ sudo add-apt-repository "deb http://archive.canonical.com/ lucid partner"   $ sudo add-apt-repository "deb http://security.ubuntu.com/ubuntu hardy-security main multiverse"   $ sudo apt-get update   $ sudo apt-get install sun-java6-jdk   $ 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   export USE_CCACHE=1   $ mkdir ~/bin   $ PATH=~/bin:$PATH   $ curl https://dl-ssl.google.com/dl/googlesource/git-repo/repo > ~/bin/repo   $ chmod a+x ~/bin/repo   $ mkdir WORKING_DIRECTORY   $ cd WORKING_DIRECTORY   $ repo init -u https://android.googlesource.com/platform/manifest   $ repo sync  
 

你可能感兴趣的:(移动开发,android开发环境,android环境配置)