We Buy Used Cell Phones
    main site home page | sell your used cell phones | purchase price list | about us | careers | testimonials | contact us   
Pacebutler Recycling Blog header image 2

Install Android Development Ubuntu 12.04

September 9th, 2013 · No Comments

In this article we will tell you how to install Android development environment on Ubuntu12.04. Here is the complete procedure:

Ubuntu is a Linux based operating system and is distributed with debian and unity. It is based on open source ideologies and distributed as free software. It is one of the most commonly distributed Linux forms in the open source estate.

The steps to handle the installation of the Android development ubuntu 12.04 are-

  • Begin with downloading the SDK of Android. Then you will have to select the platform of “Linux (i386)”. It doesn’t matter on which bit this is being executed. When you are finished with the download you can move ahead with the extraction of the content.
  • The same process could also be handled via the terminal itself but to achieve that you will have to write the given command on the same.

wget http://dl.google.com/android/android-sdk_r20-linux.tgz && tar -xvf android-sdk_r20-linux.tgz

  •  Once the whole process of extracting and downloading of the SDK is completed you can set the path for the command of the Android and also handle the adb for ensuring that it works in the appropriate manner.

export PATH=${PATH}:~/Dev/android-sdk-linux/tools:~/Dev/android-sdk-linux/platform-tools

  • It’s recommended that one should keep all the files in a single directory so that extraction and execution would be easy to handle. However, if you wish to set some other location then you can surely modify the directory based on your requirements.
  • After doing so you will also have to set the details on the .bashrc for loading it on the automatic basis at each and every boot sequence.

echo -e '\nexport PATH=${PATH}:~/Dev/android-sdk-linux/tools:~/Dev/android-sdk-linux/platform-tools' >> ~/.bashrc

  •  Post this you will be able to install the eclipse development environment

sudo apt-get install eclipse

  •  As the installation processes eclipse should be able to view the manager of the Android. For this you will have to go through the following windows->Android SDK Manager at the eclipse. From here you will have to select the options which you require for the development.
  • In case you are using the 64 bit platform, the below package needs to be installed for running the SDK.

sudo apt-get install ia32-libs

  •  Here you will be required to add the ADT (Android development tools) which is a plug-in for the eclipse.
  • For this click on the help-(which is available on the upper right side corner of the menu)- for installing the new software.
  • Then click on the add option which is available on the upper right side corner. In the repository of the add option enter the “ADT Plug-in” in the name  option  followed by defining the location URL.https://dl-ssl.google.com/android/eclipse/
  • After doing so you will have to click on the ok option which is available over there. In case you have some trouble with the “http” then you should go with the “https” option.
  • Once in the available software dialogue box -you will have to select the appropriate software from the developer’s tools and then move to the next part.
  • On the following window you will be able to see the list of tools available for downloading. Here also you have to click on the available next option.
  • Before you finish with the download there is the option for going through the terms and conditions (EULA). You should go through it thoroughly and check the box and tell that you have accepted and then click on ok. When it’s done restart the eclipse.
  • After this you will have to define the ADT settings. For which you should go through-Window->preference. This will open the panel of the preference –here you will have to choose Android available on the left side pane. For the location of the SDK, you will have to browse and then locate the downloaded SDK. And click on the option apply.
  •  If everything goes without any turmoil then you will be able to start working on your Android applications on a brand new user friendly platform.

Tags: Android