Configuring Eclipse for Android Application development
The post will help you easily configure eclipse IDE for developing android application,
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
- Download and install JDK from http://java.sun.com/javase/downloads/index.jsp
- Download and extract Eclipse application files from http://www.eclipse.org/downloads/.
- Download and extract Android SDK from http://developer.android.com/sdk/index.html.
- Set the path System Environment Variable to point to the SDK tools directory path.
3. Installing android plugin for Eclipse IDE
* Start Eclipse IDE, Under Help menu Select Install New Software.
* In the Install dialog, Click on Add button.
* 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.
* This should add “Developer Tools” to the Available software list.
* Select Developer Tools checkbox and click Next.
* In the Install Details dialog review the items to be installed and click on next.
* In the Review Licenses dialog read and accept the license agreement and click on Finish.
* Restart Eclipse once the installation is complete.
4. Configure Android Plugin
* In Eclipse select Window > Preferences.
* 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.
5. Installing SDK Components
* Open Eclipse and select Window > Android SDK and AVD Manager.
* Select Available Packages from the left pane and Select the required version of components and click on Install Selected.
* Review and Accept the selected components and click on Install.
* This will start downloading and installs the selected components.
* The installed Packages lists all the currently installed components.
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.
* Click on New button to create a New Android 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.
* This should get you started with creating an Android Project.