Android SDK/ADT is a platform for android OS which helps you to develop applications for Android devices. The Android SDK is a software development kit which provides API libraries and necessary developer tools necessary for building Android application’s. Android SDK is officially provided by android developers.
This how to guide will help guide you how to complete install Android SDK ADT Bundle in Ubuntu 14.04. As ADT (Android Development Tools) comes with all the essential SDK components with Eclipse IDE for your Android app development. You can quickly configure Android ADT in any Linux System, and start developing apps for Android Market.
ADT Bundle includes all the things we required to start application development. It including followings –
- Eclipse + ADT plugin
- Android SDK Tools
- Android Platform-tools
- The latest Android platform
- The latest Android system image for the emulator
Follow along this Complete Setup Guide for Android SDK / ADT Bundle on Ubuntu and easily configure Android Development Platform in your Linux system.
Step 1: Install Java
As all Android apps are java based, java is a primary requirement for installing Android SDK/ADT. Android suggest to use Java 6 or higher version. Use this command on terminal to install java or skip it, if you already have java installed in your Linux System.
$ sudo add-apt-repository ppa:webupd8team/java $ sudo apt-get update $ sudo apt-get install oracle-java8-installer $ sudo apt-get install oracle-java8-set-default
Step 2: Download Android ADT (Android Development Tools) Bundle
We can download latest ADT version from official android developer website. Also we can use the following commands to download ADT 22.6.2 version
$ cd ~/Downloads/ $ wget https://dl.google.com/android/adt/adt-bundle-linux-x86-20140702.zip
$ cd ~/Downloads/ $ wget https://dl.google.com/android/adt/adt-bundle-linux-x86_64-20140702.zip
Step 3: Extract ADT Bundle
After downloading ADT tools, extract it to your desired place in system. Keep remember to not to move any files to other location from extracted source.
$ unzip adt-bundle-linux*.zip
Step 4: Start ADT for first time on Ubuntu
Now after extracting ADT to the folder of your choice, go to the folder where you extracted Android ADT Bundle. In the extracted files, you will get two directories (eclipse and sdk). Navigate to eclipse directory and double-click on eclipse file to start Eclipse IDE as shown in screenshot below.
After starting, you’ll be asked to setup a workspace, where ADT will save all projects. You may also check the check box for automatically loading this workspace on next time load without prompting. You can change this later from File > Switch WorkSpace > Others.. and create new workspace.
After this you are all set to go and develop Android Apps using Eclipse with Android SDK.
Step 5: Install or Update Required Packages
While working with Android SDK, You may need to install more additional packages or libraries required for your application. ADT provides Android SDK Manager utility to do this. To start SDK Manager – Click Android SDK Manager under Windows menu. It will open a window of Android SDK Manager, here you can select the required packages and install or upgrade them as per your need.
Now that you have successfully installed Android ADT with Eclipse on Ubuntu (Linux) and updated all SDKs you’ll be needing for Development of Android Apps, or Android Gear may be. So, you can develop your own application for android OS.