Skip to content

How to download source code

renesas edited this page Sep 10, 2012 · 4 revisions

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`

Clone this wiki locally