Difference between revisions of "IoTGateway/BSP/Android/Gettingstarted/Development Environment"

From ESS-WIKI
Jump to: navigation, search
Line 3: Line 3:
 
To build the Android source files, you will need to use Linux PC. It is suggested that you use the 14.04 LTS 64bit version of Ubuntu which is the tested OS for the Android build.
 
To build the Android source files, you will need to use Linux PC. It is suggested that you use the 14.04 LTS 64bit version of Ubuntu which is the tested OS for the Android build.
  
You should have about 80 Gbytes of free disk space for building images. Go to [http://releases.ubuntu.com/14.04/ http://releases.ubuntu.com/14.04/] and download 64-bit PC (AMD64) desktop image: [http://releases.ubuntu.com/14.04/ubuntu-14.04.3-desktop-amd64.iso http://releases.ubuntu.com/14.04/ubuntu-14.04.3-desktop-amd64.iso] for the installation.
+
Go to [http://releases.ubuntu.com/14.04/ http://releases.ubuntu.com/14.04/] and download 64-bit PC (AMD64) desktop image: [http://releases.ubuntu.com/14.04/ubuntu-14.04.3-desktop-amd64.iso http://releases.ubuntu.com/14.04/ubuntu-14.04.3-desktop-amd64.iso] for the installation.
  
 
After installing Linux PC, you need to check whether you have all the necessary packages installed for an Android build. Refer to "Setting up your machine" on the Android web site [http://source.android.com/source/initializing.html http://source.android.com/source/initializing.html]. 
 
After installing Linux PC, you need to check whether you have all the necessary packages installed for an Android build. Refer to "Setting up your machine" on the Android web site [http://source.android.com/source/initializing.html http://source.android.com/source/initializing.html]. 

Revision as of 08:59, 25 January 2017

PC Setup

To build the Android source files, you will need to use Linux PC. It is suggested that you use the 14.04 LTS 64bit version of Ubuntu which is the tested OS for the Android build.

Go to http://releases.ubuntu.com/14.04/ and download 64-bit PC (AMD64) desktop image: http://releases.ubuntu.com/14.04/ubuntu-14.04.3-desktop-amd64.iso for the installation.

After installing Linux PC, you need to check whether you have all the necessary packages installed for an Android build. Refer to "Setting up your machine" on the Android web site http://source.android.com/source/initializing.html

Or you can install the docker environment provided as bellow to setup the building environment.


Install docker and Use docker

Please use docker environment to compiler Android 6.0.1_2.1.0

Android 6.0.1_2.1.0 Docker

Image Repository : advrisc/u14.04-imx6abv4

Image Tag : 20160825

Reference: http://ess-wiki.advantech.com.tw/view/IoTGateway/Docker