[Excerpt] install Google Android SDK on Ubuntu (10.04)

Source: Internet
Author: User
Http://limssb.blog.163.com/blog/static/147304372010810101747796/

1. Install JDK and eclipse

? View code bash
1
2
Sudo Aptitude InstallSun-java6-jre sun-java6-plugin sun-java6-fonts sun-java6-jdk
Sudo Aptitude InstallEclipse-platform eclipse-plugin-CVS eclipse-jdt

Test after installation: Java-version. Enter a similar result:

 

? View code bash
1
2
3
4
 JAVA -version  
JAVA version 1.6.0 _ 18
openjdk runtime environment ( icedtea6 1.8 ) ( 6b18- 1.8 -0ubuntu1 )
openjdk server VM ( build 14.0 -, mixed mode )

 

2. Install ADT
Run eclipse and click Help> install new software> available software. Click "add .. "button in location enter URL https://dl-ssl.google.com/android/eclipse/ (name item No matter), click OK. in this case, you will see that developer tools appears in the list. Expand "android ddms" and "android development tools" Under the selected directory. Click Next to start installation...

3. Install Android SDK
Download file: android-sdk_r05-linux_86.tgz can be downloaded from here: androidappdocs.appspot.com/sdk/index.html [redapricot walls are required in some regions]
Decompress and release to/home/yourhome/, and the directory I release is:/home/sky/android-sdk-linux_86, and then from
Eclipse> Windows> prefences> Android> SDK location: Specify the directory where the android SDK is located.

Eat first and continue later

--------------------- I am a separation line --------------------

 

4. Create an andriod Virtual Device (AVD)

Choose "Windows"> "Preferences"> "andriod", click "browser ..", and select the path for installing the android SDK. After setting the path, click OK.
Open the menu "Windows", click "andriod SDK and AVD manager", select "Virtual Devices", and set the name (with any name ), set target to "andriod 2.1-API level 7" and SD card to 1024 in size. Click creat AVD. Select "install packages" to ensure that "SDK platform andriod 2.1" exists.

New-create an AVD:

Then you can start your android "Mobile Phone ".

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.