A5 Configuring the Eclipse plugin

Once Eclipse is restarted, it is time to connect the plug-in to the Android SDK installation. Select Preferences under the Window menu in Eclipse. Click the Android item in the tree view to the left to expand the Android settings. In the right-hand pane, specify the SDK installation location. For example, the value used for this appendix is C:\software\google\android-sdk-windows-1.0_r1, as shown in figure A.10.

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

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

Once the SDK location is specified, there are five other sections you may configure:

■ Build—This section has options for automatically rebuilding resources. Leave this checked. The Build option can change the level of verbosity. Normal is the default setting.

■ DDMS—This service is used for peering into a running virtual machine. These settings specify TCP/IP port numbers used for connecting to a running VM with the debugger and various logging levels and options. The default settings should be just fine.

■ Launch—This section permits optional emulator switches to be sent to the emulator upon startup. An example of this might be the wipe-data option, which cleans the persistent file system upon launch of the emulator.

■ LogCat—This is a log file created on the underlying Linux kernel. The font is selectable in this dialog. Adjust this as desired.

■ Usage Stats—This optional feature sends your usage stats to Google to help the Android tools team better understand which features of the plug-in are actually used in an effort to enhance the toolset.

Your Android development environment is complete!

appendix B: Signing and installing applications on an Android device

Was this article helpful?

0 0

Post a comment