diff options
Diffstat (limited to 'en/setup/build/requirements.html')
-rw-r--r-- | en/setup/build/requirements.html | 116 |
1 files changed, 25 insertions, 91 deletions
diff --git a/en/setup/build/requirements.html b/en/setup/build/requirements.html index 9fd85811..206d75af 100644 --- a/en/setup/build/requirements.html +++ b/en/setup/build/requirements.html @@ -60,25 +60,39 @@ <a href="initializing.html">Establishing a Build Environment</a> for additional required packages and the commands to install them. </p> +<p> + These requirements apply to the AOSP master branch. For Android + versions 8.0 (Oreo or O) through 5.0 (Lollipop or L), consider using the included + <a href="https://android.googlesource.com/platform/build/+/master/tools/docker">Dockerfile</a> + to ease installation of all required packages. For the manual method, see + <a href="older-versions">Supporting Older Versions</a>. +</p> -<h3 id=latest-version>OS and JDK</h3> +<h3 id=os>OS</h3> <p> - If you are developing against the AOSP <code>master</code> branch, use one - of these operating systems: Ubuntu 14.04 (Trusty) or Mac OS v10.10 (Yosemite) - or later with Xcode 4.5.2 and Command Line Tools. + If you are developing against the AOSP <code>master</code> branch, use one of these operating + systems: Ubuntu 14.04 (Trusty) or the latest versions of Mac OS and Xcode with Command Line Tools + installed. </p> + +<h3 id=jdk>JDK</h3> <p> - For the Java Development Kit (JDK), note the <code>master</code> branch of - Android in AOSP comes with a prebuilt version of OpenJDK; so no additional - installation is required. Older versions require a separate install. + The <code>master</code> branch of Android in AOSP comes with a prebuilt version of OpenJDK, so no + additional installation is required. </p> -<p>See <a href="#older-versions">Packages for older versions</a>. +<p>Older versions of Android require a separate installation of the JDK. On Ubuntu, use OpenJDK. See + <a href="older-versions">Supporting Older Versions</a> for precise versions and instructions. <h3 id=packages>Key packages</h3> +<p> + The AOSP master branch comes with a prebuilt version of Make, so no additional installation is + required. + </p> <ul> - <li>Python 2.6 to 2.7 from <a href="http://www.python.org/download/" class="external">python.org</a></li> - <li>GNU Make 3.81 to 3.82 from <a href="http://ftp.gnu.org/gnu/make/" class="external">gnu.org</a></li> - <li>Git 1.7 or newer from <a href="http://git-scm.com/download" class="external">git-scm.com</a></li> + <li><a href="http://ftp.gnu.org/gnu/make/" class="external">GNU Make 3.81 to 3.82</a> for older + versions</li> + <li><a href="http://www.python.org/download/" class="external">Python 2.7</a></li> + <li><a href="http://git-scm.com/download" class="external">Git 1.7 or higher</a></li> </ul> <h3 id=binaries>Device binaries</h3> @@ -116,85 +130,5 @@ Development Kit (NDK)</a> and legacy kernels, GCC 4.9 included in the AOSP master branch (under <code>prebuilts/</code>) may also be used. </p> - -<h3 id=older-versions>Packages for older versions</h3> -<p> - This section details operating systems and JDK packages for older versions of - Android. -</p> - -<h4 id=operating-systems>Operating systems</h4> -<p> - Android is typically built with a GNU/Linux or Mac OS operating system. It is - also possible to build Android in a virtual machine on unsupported systems - such as Windows. -</p> - -<p>We recommend building on GNU/Linux instead of another operating system. The - Android build system normally uses ART, running on the build machine, to - pre-compile system dex files. Since ART is able to run only on Linux, the - build system skips this pre-compilation step on non-Linux operating systems, - resulting in an Android build with reduced performance. -</p> - -<h5 id=linux>GNU/Linux</h5> -<ul> - <li>Android 6.0 (Marshmallow) - AOSP master: Ubuntu 14.04 (Trusty)</li> - <li>Android 2.3.x (Gingerbread) - Android 5.x (Lollipop): Ubuntu 12.04 - (Precise)</li> - <li>Android 1.5 (Cupcake) - Android 2.2.x (Froyo): Ubuntu 10.04 (Lucid)</li> -</ul> -<h5 id=mac>Mac OS (Intel/x86)</h5> -<ul> - <li>Android 6.0 (Marshmallow) - AOSP master: Mac OS v10.10 (Yosemite) or - higher with Xcode 4.5.2 and Command Line Tools - </li> - <li>Android 5.x (Lollipop): Mac OS v10.8 (Mountain Lion) with Xcode 4.5.2 - and Command Line Tools - </li> - <li>Android 4.1.x-4.3.x (Jelly Bean) - Android 4.4.x (KitKat): Mac OS v10.6 - (Snow Leopard) or Mac OS X v10.7 (Lion) and Xcode 4.2 (Apple's Developer - Tools) - </li> - <li>Android 1.5 (Cupcake) - Android 4.0.x (Ice Cream Sandwich): Mac OS - v10.5 (Leopard) or Mac OS X v10.6 (Snow Leopard) and the Mac OS X v10.5 - SDK - </li> -</ul> - -<h4 id=jdk>JDK</h4> -<p> - See <a href="initializing.html#installing-the-jdk">Installing the JDK</a> - for the prebuilt path and installation instructions for older versions. -</p> -<ul> - <li>Android 7.0 (Nougat) - Android 8.0 (Oreo): Ubuntu - - <a href="http://openjdk.java.net/install/" class="external">OpenJDK 8</a>, - Mac OS - - <a href="http://www.oracle.com/technetwork/java/javase/downloads/java-archive-javase8-2177648.html#jdk-8u45-oth-JPR" class="external">jdk - 8u45 or newer</a> - </li> - <li>Android 5.x (Lollipop) - Android 6.0 (Marshmallow): Ubuntu - - <a href="http://openjdk.java.net/install/" class="external">OpenJDK 7</a>, - Mac OS - - <a href="https://www.oracle.com/technetwork/java/javase/downloads/java-archive-downloads-javase7-521261.html#jdk-7u71-oth-JPR" class="external">jdk-7u71-macosx-x64.dmg</a> - </li> - <li>Android 2.3.x (Gingerbread) - Android 4.4.x (KitKat): Ubuntu - - <a href="http://www.oracle.com/technetwork/java/javase/archive-139210.html" class="external">Java - JDK 6</a>, Mac OS - <a href="http://support.apple.com/kb/dl1572" class="external">Java JDK - 6</a> - </li> - <li>Android 1.5 (Cupcake) - Android 2.2.x (Froyo): Ubuntu - - <a href="http://www.oracle.com/technetwork/java/javase/archive-139210.html" class="external">Java - JDK 5</a> - </li> -</ul> - -<h4 id=make>Make</h4> -<p> - To avoid build errors, Android 4.0.x (Ice Cream Sandwich) and earlier must - <a href="initializing.html#reverting-from-make-382">revert from make 3.82</a>. -</p> - </body> </html> |