VAB
VAB
VAB
VAB----820
820
820
820 A
A
A
A
ndroid
BSP v
BSP v
BSP v
BSP v4
4
4
4.0.2 Quick Start Guide
.0.2 Quick Start Guide
.0.2 Quick Start Guide
.0.2 Quick Start Guide
9
3.
3.
3.
3.
Build Environment Setup
Build Environment Setup
Build Environment Setup
Build Environment Setup
This section guides you through setting up the build environment for development. All
instructions are based on using Ubuntu 14.04 LTS.
To make sure that the build process completes successfully, we recommend at least
120GB of disk space, and 15GB of combined memory and swap space on the host machine.
3.1.
Configuring Ubuntu
The following packages are required for the Android development environment. The
required packages can be installed using the commands below. To get more information,
please visit Google Android website at
http://source.android.com/source/initializing.html
http://source.android.com/source/initializing.html
http://source.android.com/source/initializing.html
http://source.android.com/source/initializing.html
.
OpenJDK 7 is not included in the Ubuntu 14.04 default installation. The first step is to add
a new server manually by use the following command:
$ sudo add-apt-repository ppa:webupd8team/java
$ sudo apt-get update
To install the OpenJDK 7, use the following command:
$ sudo apt-get install openjdk-7-jre
$ sudo apt-get install openjdk-7-jdk
The following packages are required for the Android development environment. To install
the required packages on the Ubuntu 14.04, use the following command:
$ sudo apt-get install git gnupg flex bison gperf build-essential zip curl zlib1g-dev libc6-dev
libncurses5-dev x11proto-core-dev libx11-dev:i386 libreadline6-dev:i386 libgl1-mesa-glx:i386
libgl1-mesa-dev g++-multilib mingw32 tofrodos python-markdown libxml2-utils xsltproc zlib1g-
dev:i386 uuid-dev liblzo2-dev libz-dev libc6-dev-i386 lib32z1