By : Ketan Bhimani
62
Creating Launch Configurations for Your Project
Next, you must create a Run and Debug launch configuration in
Eclipse to configure the circumstances under which the
MyFirstAndroidApp application builds and launches. The launch
configuration is where you configure the emulator options to use
and the entry point for your application.
You can create Run Configurations and Debug Configurations
separately, with different options for each. Begin by creating a Run
Configuration for the application.
Follow these steps to create a basic Run Configuration for the My
First Android App application:
- Choose Run, Run Configurations (or right-click the Project and Choose
Run As). - Double-click Android Application.
- Name your Run Configuration MyFirstAndroidAppRunConfig
- Choose the project by clicking the Browse button and choosing the
MyFirstAn- droidApp project. - Switch to the Target tab and set the Device Target Selection Mode to
Manual.
Now create a Debug Configuration for the application. This process
is similar to creating a Run Configuration. Follow these steps to
create a basic Debug Configuration for the MyFirstAndroidApp
application:
- Choose Run, Debug Configurations (or right-click the Project and Choose
Debug As). - Double-click Android Application.
- Name your Debug Configuration MyFirstAndroidAppDebugConfig
- Choose the project by clicking the Browse button and choosing the My
First Android App project.