34
©Vecow ESOM-MT-500 User Manual
ANDROID SOFTWARE SETUP
3.2
Build Environment Setup
This section describes the way to set up the build environment for
development. All instructions are based on Ubuntu 14.04 LTS 64bit.
To make sure the build process is completed successfully, we recommend
at least 500GB of disk space and 16GB of combined memory and 20GB
swap space on the host machine.
To check the Java version using the following command.
The following packages are required for the Android development
environment. The required packages can be installed using the
commands below.
$ sudo add-apt-repository ppa:openjdk-r/ppa
$ sudo apt-get update
$ sudo apt-get install openjdk-8-jdk
$ sudo apt-get install git-core gnupg flex bison gperf
build-essential zip curl zlib1g-dev gcc-multilib g++-
multilib libc6-dev-i386 lib32ncurses5-dev x11proto-core-dev
libx11-dev lib32z-dev libgl1-mesa-dev libxml2-utils
xsltproc unzip make python-networkx mingw32 zlib1g-dev:i386
tofrodos libswitch-perl
$ java –version
openjdk version “1.8.0_141”
OpenJDK Runtime Environment (build 1.8.0_141-8u141-b15-
3~14.04-b15)
OpenJDK 64-Bit Server VM (build 25.141-b15, mixed mode
3.2.1 Configuring Linux Host Machine
The first step is to install the OpenJDK 8 using the following commands.