Build an android compiling environment under Ubuntu

Source: Internet
Author: User

Build the android2.2 compiling environment in Ubuntu

1. Install VMware workstation7.0

2. Install strongtn10.04

3. Install JDK. The source code of versions earlier than android must be compiled under jkd1.5. Ubuntn10.0, which comes with JDK 1.6 and does not contain JDK. You need to add the following software source address at the end of/etc/APT/sources. List:

Deb http://cz.archive.ubuntu.com/ubuntu
Hard-Updates main multiverse

Then update sudo apt-Get Update to install the jdk1.5 sudo apt-Get install sun-java5-jdk.

Pay special attention to the address of the update source. This address is often seen on the Internet.

Deb
Http://us.archive.ubuntu.com/ubuntu/ jaunty multiverse
Deb http://us.archive.ubuntu.com/ubuntu/ jaunty-Updates multiverse

The results indicate that they cannot be found and cannot be opened.

4. install other tools and software

 

# Sudo apt-Get install build-essential

# Sudo apt-Get install zlib1g-de
# Sudo apt-Get install flex
# Sudo apt-Get install libx11-de
# Sudo apt-Get install gperf
# Sudo apt-Get install libncurse
# Sudo apt-Get install bison

5. Install the cross-compilation tool arm-none-linux-gnueabi-arm-2008q3-72-for-linux.tar.bz2 6. Compile the source code.

 

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.