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

From ESS-WIKI
Jump to: navigation, search
(Created page with "<span style="font-family:arial,helvetica,sans-serif">This section describes how to set up your local work environment to build the Android source files. You will need to use L...")
 
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<span style="font-family:arial,helvetica,sans-serif">This section describes how to set up your local work environment to build the Android source files. You will need to use Linux or Mac OS. Building under Windows is not currently supported.<br/></span>
+
== '''PC Setup''' ==
  
<span style="font-family:arial,helvetica,sans-serif">For an overview of the entire code-review and code-update process, see Life of a Patch.</span>
+
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&nbsp;the tested OS for the Android build.
 +
 
 +
Go to&nbsp;[http://releases.ubuntu.com/14.04/ http://releases.ubuntu.com/14.04/]&nbsp;and download 64-bit PC (AMD64) desktop image:&nbsp;[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]&nbsp;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&nbsp;[http://source.android.com/source/initializing.html http://source.android.com/source/initializing.html].&nbsp;
 +
 
 +
Or you can install the docker environment provided as bellow to setup&nbsp;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&nbsp;: advrisc/u14.04-imx6abv4
 +
 
 +
Image Tag&nbsp;: 20160825
 +
 
 +
Reference:&nbsp;[http://ess-wiki.advantech.com.tw/view/IoTGateway/Docker http://ess-wiki.advantech.com.tw/view/IoTGateway/Docker]

Latest revision as of 09:38, 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