5 Jan 2013

Configuring Eclipse - Setting up Eclipse with the ADT

 To set up Eclipse with the ADT, follow these steps:

1. Start Eclipse, if it’s not already running.

2. Choose Help➪Install New Software. The Install window pops up (see Figure). This window allows you to install new plug-ins in Eclipse.

3. Click the Add button to add a new site that will display the Add Repository window (see Figure). Sites are the Web addresses where the software is hosted on the Internet. Adding a site to Eclipse makes it easier for you to update the software when a new version is released.

Setting up Eclipse

4. Type a name in the Name field. I recommend using Android ADT, but it can be anything you choose.

5. Type https://dl-ssl.google.com/android/eclipse/ in the Location field.

Setting up Eclipse

6. Click the OK button. Android ADT is selected in the Work With drop-down menu, and the available options are displayed in the Name and Version window of the Install Details dialog box.

7. In the Install dialog box, select the check box next to Developer Tools, and click the Next button (see Figure).
Setting up Eclipse

 
 The Install Details dialog box should list both the Android Dalvik Debug Monitor Server and the ADT (see Figure).

Setting up Eclipse

8. Click the Next button to review the software licenses.

9. Click the Finish button.

10. When you’re prompted to do so, click the Restart Now button to restart Eclipse.

The ADT plug-in is installed.

Setting the location of the SDK :

In this section, I guide you through the configuration process. I know that this seems like a lot to do, but you’re almost done, and you have to do this work only once. Follow these steps:

1. Choose Window➪Preferences. The Preferences dialog box opens (see Figure).

2. Select Android in the left pane.

3. Set the SDK Location to C:\android\android-sdk-windows.

4. Click OK.

Setting up Eclipse

No comments:

Post a Comment