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

(singke) #1
ptg7068951

Creating an Android App 351


  1. Click Create AVD. The new emulator is created, which might take a
    little while (no longer than a minute, generally).


You can create as manyemulators as you need. They can be customized for
different versions of Android and different kinds of displays.


Close the Android SDK and AVD Manager to return to the main Eclipse
interface.


Creating a Debug Configuration


The last thing required beforeyou can launch the SalutonMondo app is to
create a debug configuration in Eclipse. Follow these steps:



  1. Choose Run, Debug Configurations. The Debug Configurations
    window opens.

  2. In the left pane, double-click the Android Application item (shown in
    Figure 24.6). Anew entry called New_configurationis created as its
    subitem. The right pane displays some configuration options for the
    new item.


FIGURE 24.5
Creating a new Android emulator.
Free download pdf