Android on OMAP
Configuring the Host PC
This article discribes the steps needed to install Linux on a PC and configure the Linux enviroment for Android development. Ubuntu is the selected version that will be used in this process. Other distributions of Linux can be used, however the configuration steps will not be covered in this process.
To obtain a copy of Ubuntu refer to the following link: Download Ubuntu
Note: Making a PC a dual boot (Ubuntu and Windows XP/Vista)is possible, but not recommended. (Disk Space will become an issue if more than one environment is downloaded. Full enviroment is ~5+GB)
Configure Ubuntu's "Network Proxy" appropriately to get access to the git-trees and updates.
- System-->Preferences-->Network Proxy
- Set the following parameters:
- Select: "Proxy Configuration"
- Select: "Manual proxy configuration"
- Check mark: "Use the same proxy for all protocols
- Enter following data:
- HTTP proxy:<enter proxy address> Port: <enter port>
Also configure the Proxy for the package manager:
- System -> Administrator -> Synaptics Package Manager
- Login -> Settings -> Preferences
- Network tab -> Add the HTTP proxy and port number in order to get the package manager to be able to get past the firewall.
"http_proxy" and "ftp_proxy" environmental variable:
If there is a need to use a proxy server to access the web set the environment variables "http_proxy" and "ftp_proxy".
This will allow "apt-get" etc. to use this environment variable value. Below would be the ideal way of assigning values for "http_proxy":
Add this to ~/.bashrc so that everytime the machine is rebooted this variable does not have to be exported.
Additional installations required for build environment:
Android may require the following installations:
- sudo apt-get install git-core flex bison gperf libesd0-dev libwxgtk2.6-dev zlib1g-dev build-essential libstdc++5 tofrodos
- sudo apt-get install libsdl-dev zip curl
- sudo apt-get install x-dev
- sudo apt-get install libx11-dev
- sudo apt-get install libncurses5-dev
- sudo apt-get install sun-java6-jdk
- sudo apt-get install libc6-dev g++ gcc
ARM Cross Compiler
Download cross compiler at the following link: ARM Cross Compiler
Note: 2008q3-72 is currently in use
- Select IA32 GNU/Linux Pachage (Advanced Packages)
- Extract Package
- add the bin directory of the installed location (ex: /home/username/bin/arm-2008q3-72/bin) to your PATH
If you are following the getting started guide you can follow onto next step: Step3: Configuring the Target Device
|Item ID||Associated Item||Comment|
|No Associated Items Found|