Sunday, October 21, 2012

Install Android Development Tools on Ubuntu 12.10 (Quantal Quetzal)

  1. First thing first. Make sure Java Development Kit (JDK) install. Go to Terminal and type 'Java -version' to check. You should see the following:
    java version "1.7.0_07"
    OpenJDK Runtime Environment (IcedTea7 2.3.2) (7u7-2.3.2a-1ubuntu1)
    OpenJDK Server VM (build 23.2-b09, mixed mode)
  2. If Java Development Kit is not installed, you can install it from Ubuntu Software Center. Click on Ubuntu Software Center icon from left side bar and search for Java. Here, I selected 'OpenJava JDK 7 runtime'
  3. Go to http://www.eclipse.org/downloads/ to download Eclipse Classic 4.2.1 (Juno)
  4. Go to your downloads folder and extract it. Move 'eclipse' folder to your home directory.
  5. Launch Eclipse 4.2.1 (Juno) from 'eclipse' folder.
  6. Install Android Developer Tools (ADT) plugin for Eclipse. Click on Help -> Install New Software and add the URL 'https://dl-ssl.google.com/android/eclipse/' on the input text box next to 'Work with' and click the 'Add' button.
  7. Download and install Android SDK from Eclipse 4.2.1. Click on Window -> Android SDK Manager. If Android SDK is not install, Eclipse will display a windows like this:



    Otherwise, select the existing Android SDK and specify location if it already installed. 
  8. Go to Windows -> AVD Manager to make at least one Android Virtual Device (AVD). Here is the screen shot for AVD using Galaxy Nexus skin.
References: https://help.ubuntu.com/community/Java http://developer.android.com/sdk/installing/installing-adt.html

4 comments:

  1. Does it not work with the version of eclipse that is in the repositories?

    ReplyDelete
  2. Just curious: what makes you install eclipse this way rather than using the Ubuntu packages?

    ReplyDelete
  3. First, the Eclipse version in Ubuntu repository is older than the current release from Eclipse web site. Second, I would like to make sure it have all packages need for Android development like Java,

    ReplyDelete
  4. Nice post.Give it up. Thanks for share this article. For more visit:Web App Development

    ReplyDelete