How to setup Android Development Environment on Windows 7



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.
  1. First you can download eclipse from above link.
  2. Then extract it to you preferred directory.
  3. 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.


  1. First you can download SDK form above link. The recommended one is marked by red in following screen shot   
  2. Fig 1: SDK to download.
  3. Then run this installer, it will install Android SDK for you.
  4. After you install SDK go to the installed directory then run SDK Manager.exe
  5. Fig 2: SDK manager with installed component.
  6. 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.
  7. SDK ComponentComments
    SDK ToolsThis is already installed when 
    you installing SDK
    SDK Platform-toolsThis contains more tools to 
    develop android application.
    SDK platformYou should
    be install at least one component
     of them in order to your target 
    device.
    DocumentationThis documentation have offline 
    helps and API for supporting development
    SamplesSample programes
    USB DriverThis is needed when you test 
    apps on device that connecting to PC
  8. 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.
  9. Fig 3: Available package to install.
  10.  Then close the SDK manager.that's all for installing SDK
     
Step 3. Installing ADT plugin for Eclipse. 

  1. First Start the Eclipse IDE that you installed.
  2. Then go to Help >  Install New Software... and click Add.. button in right-top.It will appear following window.
  3. Fig 4: Add repository
  4. then add following detail and click OK button
  5. NameAs you wish (exp:-ADT)
    Location       
    https://dl-ssl.google.com/android/eclipse/
  6. Then it shows Available Software dialog,then select Developer Tools and click Next button.
  7. Next you can see software package to be installed.so click Next button
  8. Then read license agreements and accept it then click Finish.
  9. After complete installation restart Eclipse IDE.
  10. Then go to Windows > Preferences.. to open preferences panel.
  11. Fig 5:Set SDK Location
  12. In left panel click Android
  13. For the  SDK Location in the panel, locate your SDK directory usingBrowse... button.
  14. Finaly Click on Apply,then OK
After you install ADT plugin for Eclipse the following toolbar appear on Eclipse IDE.
Fig 6: Android toolbar



The highlighted icon is use for lunching Android SDK and AVD Manager.

Labels: , ,