Here we will look at how to install Android and set up development environment for Android.
- Windows XP (32-bit), Vista (32- or 64-bit), or Windows 7 (32- or 64-bit)
- Mac OS X 10.5.8 or later (x86 only)
- Linux (tested on Ubuntu Linux, Lucid Lynx)
- GNU C Library (glibc) 2.7 or later is required.
- On Ubuntu Linux, version 8.04 or later is required.
- 64-bit distributions must be capable of running 32-bit applications.
Getting started on Windows
You should have already downloaded the the proper . After download of JDK, install it by double clicking on .exe file.
a) Then download the Android SDK. Now you need to set up your development environment.
b) Your download package is an executable file. Double click on .exe file, it will start an installer.
c)The installer checks your machine for required tools, such as the proper Java SE Development Kit (JDK) which you already downloaded and installed in Step 1. The installer then saves the Android SDK Tools into a default location (or you can specify the location).
a) The Android SDK separates tools, platforms, and other components into packages you can download using the Android SDK Manager. The original SDK package you’ve downloaded includes only the SDK Tools. To develop an Android app, you also need to download at least one Android platform and the latest SDK Platform-tools.
b) If you’ve used the Windows installer to install the SDK tools, you should already have the Android SDK Manager open. Otherwise, you can launch the Android SDK Manager in one of the following ways:
- On Windows, double-click the SDK Manager.exe file at the root of the Android SDK directory.
- On Mac or Linux, open a terminal and navigate to the tools/ directory in the Android SDK, then execute android sdk.
c) When you open the Android SDK Manager, it automatically selects a set of recommended packages. Simply click Install to install the recommended packages. The Android SDK Manager installs the selected packages into your Android SDK environment.
It will take some time to install. You can have coffee till then. 🙂
Step 4: Installing the Eclipse Plugin
First you need to download latest version of Eclipse from http://www.eclipse.org/downloads/ (Eclipse Classic versions 4.2 and higher recommended)
For developing android apps you will need Android Development Tools plugin(ADT plugin) to be integrate with eclipse. Steps are given below.
Step 5: Download the ADT plugin
a) Start Eclipse, then select Help > Install New Software.
b) Click Add, in the top-right corner
c) In the Add Repository dialog that appears, enter “ADT Plugin” for the Name and the following URL for the Location:
d) Click OK.
e) In the Available Software dialog, select the checkbox next to Developer Tools and click Next.
f) In the next window, you’ll see a list of the tools to be downloaded. Click Next.
g) Read and accept the license agreements, then click Finish.
If you get a security warning saying that the authenticity or validity of the software can’t be established, click OK.
h) When the installation completes, restart Eclipse.
Step 6: Configure the ADT plugin
a) In the “Welcome to Android Development” window that appears, select Use existing SDKs.
b) Browse and select the location of the Android SDK directory you recently downloaded.
c) Click Next.
Hurray, you’ve installed the Android SDK, Now you can start android application developing. 🙂