Installing Android
● Java JDK/JRE
● Eclipse IDE
● ADT Plugin for Eclipse
● Android SDK
Java
Before you download Android SDK make sure that you have installed Java jdk 5 or 6 on your machine.
If else open the terminal and type
sudo apt-get install openjdk-6-jdk
Eclipse IDE
● Eclipse is the most popular open source IDE for Java developers.
● An ADT plug-in must be added to customize the eclipse IDE for android
development.
● Eclipse can be downloaded from
http://www.eclipse.org/downloads/
ADT PLUG-IN FOR ECLIPSE
● Android Development Tools (ADT) is a plug-in for Eclipse IDE which helps
us to build Android application using Eclipse.
● ADT extends the capabilities of Eclipse to let you quickly set up new
Android projects, debug your applications using the Android SDK tools.
● ADT Plugin can be directly added from eclipse.
Installing ADT
● STEP 1:
Goto help->Install New Software
Installing ADT
● STEP 2: Add website to download ADT
https://dl-ssl.google.com/android/eclipse/
Installing ADT
● STEP 3: Click okay and then next in the subsequent windows.
Android SDK
A software development kit that enables developers to create applications for the
Android platform.
SDK include:
● Device emulator
● Debugger
● Samples
● Tools
Android SDK
Download the Android SDK from Android’s developer Website :
http://developer.android.com/sdk/index.html
Extract the downloaded tar file and save it in your preferred location.
Installing SDK
● Step 4: Open Eclipse and then goto windows->preferences
Installing SDK
● Select Android, then Browse and locate the extracted SDK file and click OK.
Android SDK Manager
● New API's can be downloaded from Android SDK Manager
● Click on the SDK manager icon(highlighted in Red color in
the image below) to get the SDK Manager Window.
● Select some API's and hit install button.
SDK Manager
Emulator
● New Emulator can be created using Android AVD Manager.
● Click on the AVD manager icon(highlighted in Red color in
the image below) to get the AVD window.
● Click on the new button.
● Name the emulator with your convenient name, select the
desired target from the drop down and mention the SD Card
size(minimum 10Mib) and hit Create AVD button.
Emulator
Emulator
Emulator
● Click on start button to lunch the emulator.
Emulator