How To Setup Android Development Environment
We are going to setup Android development environment. This text describes how to build an environment to quickly begin a journey with Android.
The IDE that we are going to use is Eclipse which is very popular and usiung it to develop Android apps is pretty straightforward. This tutorial assumes
that You have Java SDK 1.5 or 1.6 and Eclipse IDE installed. Installation can be done in 3 simple steps.
1. ADT Plugin Installation
This step is as simple as installing the ADT Eclipse Plugin. ADT stands for Android Development Tools.
To install the ADT Plugin perform the following steps:
- Start Eclipse
- Navigate to Help > Install New Software…
- Click Add (Add Repository dialog window appears)
- Provide the following input
- Name: ADT Plugin Repository (feel free to make up Your own unique name)
- Location: http://dl-ssl.google.com/android/eclipse/
- Click OK (the Available Software dialog appears)
- Check the Developer Tools
- Click Next
- On the next window, that shows a list of tools to be downloaded, click Next
- Accept the license agreements by clicking Finish (You should read them first :))
- Wait for the installation to complete.
- Restart eclipse
2. SDK installation
To start developing for the Android OS You need to add a platform (and particular platform tools) that You want to write applications for. Remember that before publishing Your application You should test it well on all platforms that Your application is supposed to work on.
After restarting eclipse You will be provided with the Configure SDK dialog:
- Check Install new SDK
- Check to install the latest available version
- Check to install the Android 2.1 version because it is currently the most popular version on the market
- Provide a target location where You want Your SDK to be installed
- Click Next
- Check whether You want to share Your usage statistics with Google
- Click Finish
- When prompted, choose the packages You want to install
- Wait for the process to complete
3. Verify Installation
Under the Window menu in the Option item, You should find the following options:
- Android SDK Manager
- AVD Manager
- Run Android Lint
You have successfully installed the Android Development Environment.