Home | History | Annotate | Download | only in source
      1 page.title=Downloading and Building
      2 @jd:body
      3 
      4 <!--
      5     Copyright 2010 The Android Open Source Project
      6 
      7     Licensed under the Apache License, Version 2.0 (the "License");
      8     you may not use this file except in compliance with the License.
      9     You may obtain a copy of the License at
     10 
     11         http://www.apache.org/licenses/LICENSE-2.0
     12 
     13     Unless required by applicable law or agreed to in writing, software
     14     distributed under the License is distributed on an "AS IS" BASIS,
     15     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     16     See the License for the specific language governing permissions and
     17     limitations under the License.
     18 -->
     19 <p>The Android build is routinely tested in-house on recent versions of
     20 Ubuntu LTS (10.04), but most distributions should have the required
     21 build tools available. We welcome reports of successes or failures on other
     22 distributions.</p>
     23 
     24 <p>Before you download and build the Android source, ensure your system meets the following requirements:</p>
     25 
     26 <ul>
     27 
     28   <li>A Linux or Mac system. It is also possible
     29   to build Android in a virtual machine on unsupported systems such as Windows.
     30   If you are running Linux in a virtual machine, you need at
     31   least 16GB of RAM/swap and 30GB or more of disk space in order to
     32   build the Android tree.
     33   </li>
     34 
     35   <li>A 64-bit environment is required for Gingerbread (2.3.x) and newer versions, including the master
     36   branch. You can compile older versions on 32-bit systems.
     37   </li>
     38 
     39   <li>30GB of free disk space to complete a single build and
     40   up to 100GB or more for a full set of builds.  The source download is approximately 8.5GB in size.</p>
     41   </li>
     42 
     43   <li>
     44   Python 2.6 -- 2.7, which you can download from <a href="http://www.python.org/download/">python.org</a>.</p>
     45   </li>
     46 
     47   <li>
     48   GNU Make 3.81 -- 3.82, which you can download from <a href="http://ftp.gnu.org/gnu/make/">gnu.org</a>,</p>
     49   </li>
     50 
     51   <li>
     52   JDK 6 if you wish to build Gingerbread or newer; JDK 5 for Froyo or older.
     53   You can download both from <a href="http://java.sun.com/javase/downloads/">java.sun.com</a>.</p>
     54   </li>
     55 
     56   <li>
     57   Git 1.7 or newer. You can find it at <a href="http://git-scm.com/download">git-scm.com</a>.</p>
     58   </li>
     59 
     60 </ul>