标签:android source code compile make
1, setup the bin directory in you home directory and include in your path,
$ mkdir ~/bin $ PATH=~/bin:$PATH
$ curl https://storage.googleapis.com/git-repo-downloads/repo > ~/bin/repo $ chmod a+x ~/bin/repo
$ mkdir WORKING_DIRECTORY $ cd WORKING_DIRECTORY
$ repo init -u https://android.googlesource.com/platform/manifest -b android-4.4.3_r1.1
$ repo sync
4, make and compile the source code.
make -j2
it will take huge amount of time to complete the building.
sudo apt-get purge openjdk*
sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java6-installer
sudo update-alternatives --config java
emulator
. build/envsetup.sh set_stuff_for_environment
Ubuntu Android system setup(2)
标签:android source code compile make
原文地址:http://blog.csdn.net/scruffybear/article/details/39314845