INSTALLING AND SETTING UP ANDROID DEVELOPER TOOLS IN UBUNTU 13.10





1. Check whether your Ubuntu is running 32bit or 64 bit OS. In terminal window, type in

                     uname –m
        

  • If the response is i686, you have a 32-bit version of Linux.
  • If the response is x86_64, you have a 64-bit version of Linux.


2. Download Android Developer Tool and extract anywhere you want and rename it with no space.

           /Home/ADT

3. Download Java Runtime Environment (JRE) extract inside eclipse directory of your Android Developer Tool and rename it to jre.

          /Home/ADT/eclipse/jre


If your are running Ubuntu with 64 bit system, it is required to install  lib32z1 lib32ncurses5 lib32bz2-1.0 to avoid this error: /home/username/ADT/sdk/platform-tools/aapt: error while loading shared libraries: libz.so.1: cannot open shared object file: No such file or directory

      Install ia32-libs via terminal : sudo apt-get install lib32z1 lib32ncurses5 lib32bz2-1.0 lib32stdc++6

4. If java is not installed you will encounter this errors:


       ./android: 1: ./android: java: not found
       ./android: 1: ./android: java: not found
       ./android: 110: exec: java: not found

         Install Java via terminal :   sudo apt-get install openjdk-7-jdk

4. Open ADT click eclipse inside /Home/ADT/eclipse/eclipse
       


5. As you continue developing apps, you may need to install additional versions of Android for the emulator and other packages such as the library for Google Play In-app Billing. To install more packages, use the SDK ManagerOpen SDK Manager and install packages you need.



        Read more about recommended packages here : http://developer.android.com/tools/help/sdk-manager.html

        Tools
        Android 4.0 +
        Extras


Comments