-
Notifications
You must be signed in to change notification settings - Fork 0
How to download source code
You should have a computer which have Ubuntu installed (Virtual machine is also available, but may be very slow). Ubuntu 12.04 is suggested, for other distributions, It may work, we can not guarantee.
Your computer (Or virtual machine) should include at lease 30GB hard driver space for Jelly bean (10G for Gingerbread). And 1GB RAM is needed.
Step 1: initialise build environment, please refer to android document nitializing a Build Environment.
Step 2: Download source code: (Some words copied from android.com)
To install, initialize, and configure Repo, follow these steps:
Make sure you have a bin/ directory in your home directory, and that it is included in your path:
`$ mkdir ~/bin
$ PATH=~/bin:$PATH`
Download the Repo script and ensure it is executable:
`$ curl https://dl-ssl.google.com/dl/googlesource/git-repo/repo > ~/bin/repo
$ chmod a+x ~/bin/repo`