You are on page 1of 22

Developing Android Applications

Android SDK Installation

Welcome to this session on Android installation.

Introduction

Devesh is a developer at XYZ, a mobile solutions provider based in Bangalore. In a new project, Devesh has been asked to install the Android platform on a variety of iPads in order to install, run and test Android applications. The developer is new to the Android platform, and requires a step-by-step installation guide for installing Android on the Windows OS. Devesh finds that he needs to install the Android Software Development Kit (SDK). He views a demo on installing the Android platform.

Android SDK Installation

The Android SDK offers a complete set of tools for creating Android applications Upon installing the Android SDK, the developer can build applications for specific hardware or software The developer can also test and debug applications using the tools that Android SDK offers The kit includes libraries, emulator, sample code, tutorials, and tutorials

Android SDK Installation

System Requirements

Operating Systems Supported Windows XP (32-bit), Vista (32- or 64-bit), or Windows 7 (32- or 64-bit) Development Environment Supported and Requirements: Eclipse 3.6 (Helios) or greater Eclipse Java Development Tools (JDT) plugin

Android SDK Installation

Recommended Integrated Development Environment (IDE) Packages:


o
o o

Eclipse Integrated Development Environment (IDE) for Java Developers Eclipse Classic Eclipse IDE for Java Enterprise Edition (EE) Developers

JDK 6 - Java Runtime Environment (JRE) alone is not sufficient Android Development Tools (ADT) plugin recommended

Android SDK Installation

Recommended Hardware Requirements o Minimum 2 Gigabyte (GB) of Random Access Memory (RAM) o Intel Core2Due or equal processor for x86 architecture o 4 GB hard disk space

Android SDK Installation Steps


1. Check if the Java Development Kit is installed on the system. If not, go to www.oracle.com/technetwork/java/javase/downloads/index.html. Scroll down to locate Java SE 6 and click DOWNLOAD below JDK.

Android SDK Installation Steps


2. In the Get the Android SDK page, on the right side, click Download the SDK ADT Bundle for Windows.

Android SDK Installation Steps


3.

In the Terms and Conditions page, read the terms. Click I have read and agree with the above terms and conditions checkbox. Depending on the capacity of the processor, select 32-bit or 64-bit.

Android SDK Installation Steps


4. Click Download the SDK ADT Bundle for Windows enabled button.

Android SDK Installation Steps


5. In the File Download dialog box, click Save.

Android SDK Installation Steps


6. In the home directory create a new directory, for example, Android SDK. Double-click the Android SDK directory and click Save. The adt-bundlewindows-x86 file is saved to the directory.

Android SDK Installation Steps


7. Right-click the adt-bundle-windows-x86 file and select Extract to adt-bundle-windows-x86

Android SDK Installation Steps


The files are extracted to the adt-bundlewindows-x86 folder in the Android SDK folder.

Android SDK Installation Steps


8. Double-click the adt-bundle-windows-x86 folder to open it.

Android SDK Installation Steps


9. Double-click the eclipse folder to open it.

Android SDK Installation Steps


The contents of the eclipse folder are displayed.

Android SDK Installation Steps


11. Double-click the eclipse icon to start the IDE.

Android SDK Installation Steps


12. The Workspace Launcher dialog box is displayed with the default workspace location. Select a Workspace and click OK.

Android SDK Installation Steps


13. The Android IDE is displayed.

Android SDK Installation Steps

The Android Platform was installed successfully!