A10 tablet Development 2 build Android Development Environment

Source: Internet
Author: User
Tags gnupg

I directly operate on the 64-bit Ubuntu 12.10 system and build a similar Ubuntu development environment. For details, refer to the configuration of the Ubuntu 10.04 development environment. Note that the 64-bit system requires the installation of a 32-bit Library (sudo apt-get install ia32-libs), or the prompt that the cross-compilation chain cannot be found during compilation.

1. install java

Uestc @ uestc-ThinkPad-T43 :~ /Tools $ ls

Jdk1.6.0 _ 24 jdk-6u24-linux-i586.bin

Uestc @ uestc-ThinkPad-T43 :~ /Tools $ chmod + x jdk-6u24-linux-i586.bin

Uestc @ uestc-ThinkPad-T43 :~ /Tools $./jdk-6u24-linux-i586.bin

The installation configuration is as follows:

Uestc @ uestc-ThinkPad-T43 :~ /Tools $ sudo mkdir/usr/lib/jvm

Uestc @ uestc-ThinkPad-T43 :~ /Tools $ sudo mv jdk1.6.0 _ 24/usr/lib/jvm

Uestc @ uestc-ThinkPad-T43 :~ /Tools $ sudo update-alternatives -- install "/usr/bin/java" "java" "/usr/lib/jvm/jdk1.6.0 _ 24/bin/java" 1

Update-alternatives:/usr/lib/jvm/jdk1.6.0 _ 24/bin/java is used to provide/usr/bin/java (java) in automatic mode.

Uestc @ uestc-ThinkPad-T43 :~ /Tools $ sudo update-alternatives -- install "/usr/bin/javac" "javac" "/usr/lib/jvm/jdk1.6.0 _ 24/bin/javac" 1

Update-alternatives:/usr/lib/jvm/jdk1.6.0 _ 24/bin/javac is used to provide/usr/bin/javac (javac) in automatic mode.

Uestc @ uestc-ThinkPad-T43 :~ /Tools $ sudo update-alternatives -- install "/usr/bin/javaws" "javaws" "/usr/lib/jvm/jdk1.6.0 _ 24/bin/javaws" 1

Update-alternatives:/usr/lib/jvm/jdk1.6.0 _ 24/bin/javaws is used to provide/usr/bin/javaws (javaws) in automatic mode.

Uestc @ uestc-ThinkPad-T43 :~ /Tools $ sudo update-alternatives -- config java

There is only one candidate item in the Link Group java:/usr/lib/jvm/jdk1.6.0 _ 24/bin/java

No configuration is required.

Uestc @ uestc-ThinkPad-T43 :~ /Tools $ sudo update-alternatives -- config javac

There is only one candidate item in the Link Group javac:/usr/lib/jvm/jdk1.6.0 _ 24/bin/javac

No configuration is required.

Uestc @ uestc-ThinkPad-T43 :~ /Tools $ sudo gedit/etc/environment

Add JAVA_HOME = "/usr/lib/jvm/jdk1.6.0 _ 24" in the last line"

2. install necessary packages

Try to install it all. It takes too much time to compile it.

Uestc @ uestc-ThinkPad-T43 :~ /Tools $ sudo apt-get install git gnupg flex bison gperf build-essential zip curl libc6-dev libncurses5-dev: i386 x11proto-core-dev libx11-dev: i386 libreadline6-dev: i386 libgl1-mesa-dev g ++-multilib mingw32 tofrodos python-markdown libxml2-utils unzip tproc zlib1g-dev: i386

Sudo apt-get install git gnupg flex bison gperf build-essential zip curl libc6-dev libncurses5-dev: i386 x11proto-core-dev: i386 libx11-dev: i386 libreadline6-dev: i386 libgl1-mesa-dev g ++-multilib mingw32 tofrodos python-markdown libxml2-utils unzip tproc zlib1g-dev: i386

Sudo ln-s/usr/lib/i386-linux-gnu/mesa/libGL. so.1/usr/lib/i386-linux-gnu/libGL. so

$ Sudo apt-get install build-essential git u-boot-tools texinfo texlive ccache zlib1g-dev gawk

$ Sudo apt-get install bison flex gettext uuid-dev ia32-libs

It is best to find a place where the network is better, install these necessary packages, the network speed is quite slow. If the source cannot be found, update the source.

Related Article

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.