Step 1: Check in System Settings -> Details, whether your Ubuntu is 32-bit or 64-bit.

Step 2: If your Ubuntu is a 32-bit OS then install libgl1-mesa-dev. In case of 64-bit OS install ia32- libs (Ubuntu 13.04 or earlier), or libgl1-mesa-dev:i386 (Ubuntu 13.10 and above)

Step 3: Install openjdk-6-jdk or better, openjdk-7-jdk

Step 4: Download the Android SDK or the ADT Bundle from ( and unzip it to wherever you want.

Step 5: Check that the unzipped ADT Bundle folder (or Android SDK folder, as the case may be) have the folders tools and platform-tools. These folders contain some important commands stored. Add them to your executable path. Adding them to the path can be done as follows:

In terminal

gedit ~/.bash_profile // geditor will be openedn when you give this command in terminal

Add following line:

//First two line is used for run android commend in your workspace.

export PATH=${PATH}:~/adt-bundle-linux-x86_64-20140702/sdk/tools

export PATH=${PATH}:~/adt-bundle-linux-x86_64-20140702/sdk/platform-tools

// This line helps to run zipalign,jarsigner commend. Zipalign,jarsigner commend will use in certificate creation for your app.

export PATH=${PATH}:~/adt-bundle-linux-x86_64-20140702/sdk/build-tools/21.1.0

After save above file. You have to run the following commend in the terminal.

Source ~/.bash_profile

Here you have to replace /path/to/tools and /path/to/platform-tools by the absolute paths according to where you unzipped the SDK or the ADT bundle download. Now all the commands adb, android, emulator etc can be simply executed in the terminal without giving absolute paths. That is, you will not get a “command not found” error if you gave it without its absolute path.

Install Android SDK/ADT Bundle on Ubuntu using Terminal