Android源码编译(1)---硬件及软件要求
来源:互联网 发布:阿里办公软件 编辑:程序博客网 时间:2024/05/29 13:10
Requirements
IN THIS DOCUMENT
- Hardware requirements
- Software requirements
- Operating system
- Java Development Kit (JDK)
- Key packages
- Device binaries
Before you download and build the Android source, ensure your system meets the following requirements. Then see Establishing a Build Environment for installation instructions by operating system.
Hardware requirements
Your development workstation should meet or exceed these hardware requirements:
- A 64-bit environment is required for Gingerbread (2.3.x) and newer versions, including the master branch. You can compile older versions on 32-bit systems.
- At least 100GB of free disk space for a checkout, 150GB for a single build, and 200GB or more for multiple builds. If you employ ccache, you will need even more space.
- If you are running Linux in a virtual machine, you need at least 16GB of RAM/swap.
Software requirements
The Android Open Source Project (AOSP) master
branch is traditionally developed and tested on Ubuntu Long Term Support (LTS) releases, but other distributions may be used. See the list below for recommended versions.
You workstation must have the software listed below. See Establishing a Build Environment for additional required packages and the commands to install them.
Operating system
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.
GNU/Linux
- Android 6.0 (Marshmallow) - AOSP master: Ubuntu 14.04 (Trusty)
- Android 2.3.x (Gingerbread) - Android 5.x (Lollipop): Ubuntu 12.04 (Precise)
- Android 1.5 (Cupcake) - Android 2.2.x (Froyo): Ubuntu 10.04 (Lucid)
Mac OS (Intel/x86)
- Android 6.0 (Marshmallow) - AOSP master: Mac OS v10.10 (Yosemite) or later with Xcode 4.5.2 and Command Line Tools
- Android 5.x (Lollipop): Mac OS v10.8 (Mountain Lion) with Xcode 4.5.2 and Command Line Tools
- 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)
- 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
Java Development Kit (JDK)
Please note, since there are no available supported OpenJDK 8 packages for Ubuntu 14.04, the Ubuntu 15.04 packages must be installed manually. See JDK for Ubuntu LTS 14.04 for precise instructions.
- The master branch of Android in AOSP: Ubuntu - OpenJDK 8, Mac OS - jdk 8u45 or newer
- Android 5.x (Lollipop) - Android 6.0 (Marshmallow): Ubuntu - OpenJDK 7, Mac OS - jdk-7u71-macosx-x64.dmg
- Android 2.3.x (Gingerbread) - Android 4.4.x (KitKat): Ubuntu - Java JDK 6, Mac OS - Java JDK 6
- Android 1.5 (Cupcake) - Android 2.2.x (Froyo): Ubuntu - Java JDK 5
Key packages
- Python 2.6 -- 2.7 from python.org
- GNU Make 3.81 -- 3.82 from gnu.org; Android 3.2.x (Honeycomb) and earlier will need to revert from make 3.82to avoid build errors
- Git 1.7 or newer from git-scm.com
Device binaries
Download previews, factory images, drivers, over-the-air (OTA) updates, and other blobs below. See Obtaining proprietary binaries for additional details.
- Preview binaries (blobs) - for AOSP
master
branch development - Factory images - for the supported devices running tagged AOSP release branches
- Binary hardware support files - for devices running tagged AOSP release branches
- OTA images - for manually updating Nexus devices over the air
- Android源码编译(1)---硬件及软件要求
- Zabbix硬件、软件要求
- Android 源码编译详解【一】:服务器硬件配置及机型推荐-2016/06
- Android 源码编译详解【一】:服务器硬件配置及机型推荐-2016/06
- android 源码编译详解【一】:服务器硬件配置及机型推荐-2016/06
- 源码安全管理的要求及软件工具的限制!
- SharePoint 2013 的硬件和软件要求
- MySQL集群硬件,软件,网络要求
- android源码下载及编译
- android 源码下载及编译
- android开发及源码编译
- Android 源码下载及编译
- Android 源码设计及源码编译
- 硬件要求用例1
- android源码编译常见错误及解决办法1
- 硬件要求
- Android源码编译及模拟器运行
- android源码,SDK及ADT编译
- JAVA的单例模式(用java写一个singleton的例子)。
- codeup100000578B-DayofWeek
- 筹备一个开源项目:opencam,仿照openwrt。
- MySQL常见问题总结
- Ruby meta programming 2(define_method/attr_accessor)
- Android源码编译(1)---硬件及软件要求
- java类的加载
- PAT(B).1054. 求平均值 (20)
- 初试python生成lmdb问题及解决
- java总结1
- hive参数hive.mapred.mode分析
- JSP常用标签的使用
- java的认识和了解
- MYSQL 解锁与锁表