Android Development Environment configuration in Linux (Ubuntu 11.04)

Source: Internet
Author: User
Tags gtk

1. First download the files required for application development:

 

Jdk-6u24-linux-i586.bin

 

Android-sdk_r10-linux_x86.tgz

 

Eclipse-java-galileo-SR2-linux-gtk.tar.gz

 

2. Install JDK

 

First, add the file running permission, and then run the Installation File

 

Chmod 777 jdk-6u24-linux-i586.bin <br/>./jdk-6u24-linux-i586.bin
 

 

Configure the environment variable in the file/etc/profile.

 

Sudo Vim/etc/profile <br/> Add <br/> export java_home =/home/gexueyuan/jdk1.6.0 _ 24 <br/> export Path = $ path: $ java_home/bin:/home/gexueyuan/Android-sdk-linux_x86/tools:/home/gexueyuan/eclipse <br/> export classpath =. <br/>

 

Then run source on the terminal
/
Etc
/
Make the change take effect immediately

 

Run Java-version. You can see that the environment variables of the Java version are successfully configured.

 

 

 

 

3. Configure and install the android SDK

 

 

Decompress the android-sdk_r10-linux_x86.tgz, then run the android script in the folder, then you can see AVD manager, download the required SDK

Version

 

4. Configure eclipse

 

Decompress eclipse-java-galileo-sr2-linux-gtk.tar.gz and get the eclipse folder. Run the eclipse program to start eclipse, and then select

Help -- install new software, enter the https://dl-ssl.google.com/android/eclipse/ in the work with address bar to install the ADT plug-in, one way to next, ADT

You can start eclipse and see the android logo on the toolbar.

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.