How to Run and Debug Android Applications


 

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

  1. Configure an Android Virtual Device (AVD) for the emulator
  2. Create a debug configuration for your project
  3. 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.

 

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s


%d bloggers like this: