Sams Teach Yourself Java™ in 24 Hours (Covering Java 7 and Android)

(singke) #1
ptg7068951

392 APPENDIX D:Setting Up an Android Development Environment



  1. Expand this item by clicking the arrow next to it. You see several
    subitems for Android-related tools you can add to Eclipse, as shown
    in Figure D.1.


FIGURE D.1
Adding new plug-ins to Eclipse.



  1. Select the checkboxes for Android DDMS and Android Development
    Tools. (You also can add the other tools such as the Android
    Hierarchy Viewer, but you won’t see them at the start of your
    Android programming.)

  2. Click Next to review the licensing agreement and check whether any-
    thing else needs to be installed. When you reach the end of the wiz-
    ard, click Finish.


After the plug-in has been installed, close Eclipse and run it again.
Your preferences in Eclipse must be checked to make sure the IDE can find
the Android SDK.
To check this, undertake the following:


  1. Choose the menu command Window, Preferences. The Preferences
    dialog opens with a list of categories running along the left side.

  2. Click Android to see the general Android preferences.

Free download pdf