Running and Debugging Applications

To build and debug an Android application, you must first configure your project for debugging. The ADT plug-in enables you to do this entirely within the Eclipse development environment. Specifically, you need to do the following:

► Configure an Android Virtual Device (AVD) for the emulator

► Create a debug configuration for your project

► Build the Android project and launch the debug configuration

When you have completed each of these tasks, Eclipse will attach its debugger to the Android emulator (or handset), and you are free to debug the application as needed.

0 0

Post a comment