Android development environment is the the basic need for developing android application,we can setup android development environment in different systems in different way. So in this article I am going to show how to setup Android Development Environment in Windows 7 machine.
System and Software requirements
1) Windows 7 OS with installed JDK.(this guide create on only windows 7 other OS have little bit different to this guide.
2) Eclipse IDE (Helios or Galilieo), you can download it fromhttp://www.eclipse.org/downloads/
3) Android SDK starter package, you can download it fromhttp://developer.android.com/sdk/index.html
Go through following steps to setup Android Development Environment.
Step 1. Installing Eclipse IDE on computer.
- First you can download eclipse from above link.
- Then extract it to you preferred directory.
- After that you can go to installed directory then run eclipse.exe
that it for installing eclipse
Step 2. Installing Android SDK starter package on computer.
- First you can download SDK form above link. The recommended one is marked by red in following screen shot
- Then run this installer, it will install Android SDK for you.
- After you install SDK go to the installed directory then run SDK Manager.exe
- Then you can see above window this is Android SDK and AVD Manager.Next thing is you have to install some component to using this for Android development.the Following table shows recommended component to install.
- To install those component click Available packages menu in left panel on Android SDK and AVD Manager.Then select those component then click install selected button bellow.
- Then close the SDK manager.that's all for installing SDK
Fig 1: SDK to download. |
Fig 2: SDK manager with installed component. |
SDK Component | Comments |
SDK Tools | This is already installed when you installing SDK |
SDK Platform-tools | This contains more tools to develop android application. |
SDK platform | You should be install at least one component of them in order to your target device. |
Documentation | This documentation have offline helps and API for supporting development |
Samples | Sample programes |
USB Driver | This is needed when you test apps on device that connecting to PC |
Fig 3: Available package to install. |
Step 3. Installing ADT plugin for Eclipse.
- First Start the Eclipse IDE that you installed.
- Then go to Help > Install New Software... and click Add.. button in right-top.It will appear following window.
- then add following detail and click OK button
- Then it shows Available Software dialog,then select Developer Tools and click Next button.
- Next you can see software package to be installed.so click Next button
- Then read license agreements and accept it then click Finish.
- After complete installation restart Eclipse IDE.
- Then go to Windows > Preferences.. to open preferences panel.
- In left panel click Android
- For the SDK Location in the panel, locate your SDK directory usingBrowse... button.
- Finaly Click on Apply,then OK
Fig 4: Add repository |
Name | As you wish (exp:-ADT) |
Location | https://dl-ssl.google.com/android/eclipse/ |
Fig 5:Set SDK Location |
Fig 6: Android toolbar |