Home > Android Development > Configuring Eclipse for Android Application development

Configuring Eclipse for Android Application development

The post will help you easily configure eclipse IDE for developing android application,

1. Prerequisite
The following is a list of software requirement to start of with Android development,

  • Windows XP or later
  • Eclipse 3.4 or later
  • JDK 5 or later

2. Download JDK, Eclipse and Android SDK

3. Installing android plugin for Eclipse IDE
* Start Eclipse IDE, Under Help menu Select Install New Software.
Install-New-Software
* In the Install dialog, Click on Add button.
Install-Dialog
* In the Add Site dialog enter the site name [e.g, Android plugin] and the location as https://dl-ssl.google.com/android/eclipse/. Note: If https does not work try http. Click OK.
Add-Site
* This should add “Developer Tools” to the Available software list.
Available-Software-1
* Select Developer Tools checkbox and click Next.
Available-Software-2
* In the Install Details dialog review the items to be installed and click on next.
Install-Details
* In the Review Licenses dialog read and accept the license agreement and click on Finish.
Review-License
* Restart Eclipse once the installation is complete.
4. Configure Android Plugin
* In Eclipse select Window > Preferences.
Preferences-Menu
* In Preferences dialog, Select Android from the left pane.
* Enter the SDK Path in the SDK Location textbox and click Apply and click on OK.
Preferences-Dialog
5. Installing SDK Components
* Open Eclipse and select Window > Android SDK and AVD Manager.
Android-SDK-Menu
* Select Available Packages from the left pane and Select the required version of components and click on Install Selected.
Available-Package
* Review and Accept the selected components and click on Install.
Choose-Package
* This will start downloading and installs the selected components.
Downloading-SDK-Tools
* The installed Packages lists all the currently installed components.
Installed-Packages
6. Android Virtual Device
* Before you can create a Android project, we will need to create a Android Virutal Device [AVD].
* Select Virtual Devices, this should list all the AVD’s created.
Virtual-Devices
* Click on New button to create a New Android Device.
New-Virtual-Device
* In the Create new Android Device (AVD), enter the Name as Android2.2 [or any desired name] and Target as Android 2.2 – API Level 8 [or any desired target available]. and Click on Create AVD button.
Virtual-Device-List
* This should get you started with creating an Android Project.

Categories: Android Development Tags:
  1. No comments yet.
  1. No trackbacks yet.