Ubuntu_install Android SDK on Ubuntu 12.04 lts

Source: Internet
Author: User
Tags android sdk manager linux mint
Document directory
  • Step 1. Install JDK and Eclipse IDE
  • Step 2. Download Android SDK starter package
  • Step 3. Install ADT plugins for eclipse
  • Step 4. Install Android SDK

Ubuntu (Latest Version: 12.04 LTs) is now the most popular GNU/Linux distribution on this planet; Android, the most popular operating system for mobile devices, both are rocking!

If you are a Android developer (or an absolute beginner)-who wants to use Ubuntu as the development platform or an Ubuntu user interested in developing Android applications-then this post might be helpful in
Setting up Android Development Environment on Ubuntu 12.04(. K. A precise pangolin ). although, the setup process is primarily explained for Ubuntu 12.04 but it may works seamlessly on other GNU/Linux systems such as Linux mint, Debian, opensuse, Fedora
Etc (and of course you wowould have to replaceApt-GetByYumIn RPM based distro ).

Setting up Android SDK on Ubuntu 12.04 lts

Since Android uses Java as the programming language so you must install Java Development Kit (JDK) such as openjdk (Open Source implementation), followed by the Eclipse IDE and ADT plugins required for Android development.

Step 1. Install JDK and Eclipse IDE

Although, you cocould install JDK or IDE separately (specially if you want specific version of JDK and eclipse, since Android SDK requires JDK 1.6 + and eclipse Helios 3.6.2 +) but eclipse-jdt package meets the above conditions so it wocould be much easier. open
A terminal and install Eclipse IDE as well as JDK, in one command (installeclipse 3.7 + openjdk 6 )-

sudo apt-get install eclipse-jdt
Step 2. Download Android SDK starter package

Download Android SDK starter package (from official site)

Step 3. Install ADT plugins for eclipse

Now, open Eclipse IDE and goHelp-> install new softwareThen click on
AddAnd enter the URL:

https://dl-ssl.google.com/android/eclipse/

Now select the developer tools, then a coupleNext, Followed
Finish
Wocould begin the download/installation process; next, restart the eclipse.

Step 4. Install Android SDK

Then openWindow-> preferencesAnd locate your android SDK starter package.

Then goWindow-> Android SDK Manager, Select the packages you want to install and click
Install [x] packages.

Packages to select?

Mandatory packagesAre SDK tools, SDK-platform tools and the SDK platform (2.1 (recommended if you want to target for 97% + Users) or 4.0.3 (the latest version at the time of writing this post) for which you want to write the application.

Select other packages depending on your need, althoughMost recommended packagesAre-documentation, code samples, USB driver, Google API, Google Analytics SDK, Google AdMob ads SDK (if you want to show ads in your app) etc. Don't select
Unnecessary packages-that you don't need now-otherwise it may take much time to download/install all those stuffs.

Wait, until the download/install process complete (it may take a lot of time if your Internet connection is not very fast ).

That's all. Now it's time start developing some cool applications for Android. Have fun!

Recommended book (s) for beginners

  • Learning Android (O 'Reilly media) by Marko gargenta
  • Programming Android (O 'Reilly media) by zigurd mednieks and others
Tweetpossibly related posts:
  1. Android SDK for Ubuntu 11.04/10.10/11.10
  2. How to install Eclipse IDE on Ubuntu 12.04
  3. How to install Eclipse IDE on Ubuntu 11.10
  4. How to install Eclipse IDE on Ubuntu 10.10
  5. How to install eclipse in Ubuntu 10.04

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.