Run/Debug Configuration: Android Test
Use this dialog box to configure testing of Android applications and activities on actual or virtual devices.
The dialog box consists of three tabs:
|Module||From this drop-down list, select the module to which this configuration will be applied.|
|Test|| In this area, specify the location of tests that you want to apply: |
|Specific instrumentation runner||In this text box, specify the location of the desired instrumentation runner. Type the path manually or click the Browse button and select the location in the dialog that opens.|
|Deployment Target Options|| In this area, select the type of device to run/debug the application on. The available options are: |
Selecting the Show Device Chooser Dialog or USB Device option may be helpful if you are going to run the application on a physical device which will be plugged in later and therefore the set of available devices cannot be foreseen.
In this tab, specify additional configuration settings for launching the Android emulator.
|Network Speed||From this drop-down list, select the network transfer rate to be emulated.|
|Network Latency|| Use this drop-down list to specify the time delay between the initial input and the output. You can select between the following latency levels: |
|Wipe user data|| Select this checkbox to have the contents of the user-data image copied to the new user-data disk image while resetting the image. By default, the |
|Disable boot animation||Select this checkbox if you do not want an animated boot screen displayed upon the emulator start-up.|
|Additional command line options||In this text box, type the additional options to be passed to the emulator via the command line. For lengthy command lines, click the button and type the text in the Emulator Additional Command Line Options dialog that opens.|
|Clear log before launch||Select this checkbox if you want data from previous sessions to be removed from the log before starting the application.|
|Alt+Insert||Click this button to add a new configuration to the list.|
|Alt+Delete||Click this button to remove the selected configuration from the list.|
|Ctrl+D||Click this button to create a copy of the selected configuration.|
|Edit defaults||Click this button to edit the default configuration templates. The defaults are used for newly created configurations.|
|or||Alt+Up or Alt+Down||Use these buttons to move the selected configuration or folder up and down in the list. |
The order of configurations or folders in the list defines the order in which configurations appear in the Run/Debug drop-down list on the main toolbar.
|Move into new folder / Create new folder||Use this button to create a new folder. |
If one or more run/debug configurations are in focus, the selected run/debug configurations are automatically moved to the newly created folder. If only a category is in focus, an empty folder is created.
Move run/debug configurations to a folder using drag-and-drop, or the buttons.
|Sort configurations||Click this button to sort configurations in alphabetical order.|
|Name||In this text box, specify the name of a new run/debug configuration. This field is not available for the default run/debug configurations.|
|Defaults||This node in the left-hand pane contains the default run/debug configuration settings. Select configuration to modify its default settings in the right-hand pane. The defaults are applied to all newly created run/debug configurations.|
|Share|| Select this check box to make the run/debug configuration available to other team members. |
If the directory-based project format is used, the settings for a run/debug configuration are stored in a separate .xml file in the
If the file-based format is used, the settings are stored in the
This check box is not available when editing the run/debug configuration defaults.
|Before launch||Use the controls in this area to specify which tasks must performed before applying the run/debug configuration. The tasks are performed in the order they appear in the list. The following options are available: |