loginid=zhang.weitao@eastaeon.com,time=2014-11-19 16:05:08,ip=218.17.160.185,doctitle=Android_Build_Environment_on_Ubuntu_12.04_64-bit_Installation_SOP.docx,company=Eastaeon_WCX
Android Build Environment on Ubuntu 12.04 64 bit Installation SOP
Version: 1.0 3/15 <2014-10-15 >
Context
1 Environment Requirement ................................................................................................ iv
1.1 Operating System .............................................................................................................. iv
1.2 Memory & Disk Space ...................................................................................................... iv
1.3 Make Utility ...................................................................................................................... iv
1.4 Perl, Python, Interpreter .................................................................................................... iv
1.5 Compilation Tools ............................................................................................................ iv
1.6 Others ................................................................................................................................ iv
2 O.S. Installation ................................................................................................................... 5
2.1 Download Ubuntu 12.04 x64 DVD Desktop version ........................................................ 5
2.2 Start the installation ........................................................................................................... 5
2.2.1 Install menu language: English .................................................................................. 5
2.2.2 Install Ubuntu .............................................................................................................. 6
2.2.3 Prepare disk space: Erase and use the entire disk ....................................................... 6
2.2.4 Timezone & Coventions: Asia (China) ....................................................................... 7
2.2.5 KeyBoard Layout: USA .............................................................................................. 8
2.2.6 Who are you? .............................................................................................................. 8
2.2.7 Press Install and Start to install ................................................................................... 9
3 Install Software and Compilation Tool Chain ................................................................ 10
3.1 Modify /etc/apt/sources.list .............................................................................. 10
3.2 Required Packages ........................................................................................................... 10
3.3 Install oracle JDK 1.6 & open JDK 1.7 ........................................................................... 11
3.3.1 Download oracle JDK 1.6 ......................................................................................... 11
3.3.2 Install oracle JDK 1.6 ................................................................................................ 11
3.3.3 Install open JDK 1.7 .................................................................................................. 12
3.4 Install wine-1.1.33 (optional, ONLY for JB MR0, ICS, GB) .......................................... 12
3.4.1 Download wine 1.1.33 source code .......................................................................... 12
3.4.2 Install wine 1.1.33 ..................................................................................................... 13
3.5 Install xrdp (Optional) ..................................................................................................... 13
3.5.1 Install and verify xrdp ............................................................................................... 13
3.5.2 Press “Windows+R” on keyboard, and enter “mstsc” command. ............................. 13
3.5.3 The RDP Connection will start. Enter the host name and connect. .......................... 14
3.5.4 Use your username and password to login. ............................................................... 14
4 Configure Build Profile ..................................................................................................... 15
4.1 Configure android build profile ....................................................................................... 15
MEDIATEK CONFIDENTIAL
FOR zhang.weitao@ eastaeon.com USE ONLY