A4 Obtaining and installing the Eclipse plugin

The following steps demonstrate the installation of the Android plug-in for Eclipse, known as the ADT. The most up-to-date installation directions are available from the Android website. The first steps are somewhat generic for any Eclipse plug-in installation.

Here are the basic steps to install the ADT:

1 Run the Find and Install feature in Eclipse, found under the Help > Software Updates menu, as shown in figure A.6.

Java - Eclipse Platform

Fie Edit Source Refftctor Navigate Search Project Run Window

@ Welcome

' PâtkageEïplor Î3 í¿ Hierarchy = □

© Heb Contents search Dynamic Help

Key Assist,. Cttl+SNfl+L Tips andTriths... Report Bug or Enhancement Cheat Sheets,..

= □

Software Updates H

J* Find and Install...

About Ectese Platform © Mäna<>e ^figuration

Figure A.6 The Eclipse environment supports an extensible plug-in architecture.

Figure A.6 The Eclipse environment supports an extensible plug-in architecture.

2 Select the Search for New Features to Install option, as shown in figure A.7. Click Next.

Figure A.7 Choose the new features option.

3 Select New Remote Site. Give this site a name, such as Android Tools, as shown in figure A.8. Use the following URL in the dialog: https://dl-ssl.google.com/ android/eclipse. Please note the https in the URL. Click OK.

Figure A.8 Create a new update site to search for Android-related tools.

4 A new entry is added to the list and is checked by default. Click Finish. The search results display the ADTs.

Configuring the Eclipse plug-in 5 Select Android Tools and click Next, as shown in figure A.9.

Update Site for Android Development Toolkit t of 1 selected.

Iv7 Show the latest version of a feature only r Filter features included In other features on the list

Update Site for Android Development Toolkit t of 1 selected.

Iv7 Show the latest version of a feature only r Filter features included In other features on the list

Figure A.9 You must select Android Tools for Eclipse to download and install.

6 After reviewing and accepting the license agreement, click Next.

7 Review and accept the installation location. Click Finish.

8 The plug-in is now downloaded and installed.

9 Restart Eclipse to complete the installation.

Congratulations! The ADT Eclipse plug-in is installed. Next step: configuration.

0 0

Post a comment