Choosing the Target Device Manually
When you run or debug your Android application, and no target device is specified in the applied run/debug configuration, you need to choose the target device manually.
You have the following options:
- Choose a physical device:
- Plug-in a physical Android device through a USB cable.
- Start a run/debug session.
- In the Choose Device dialog that opens, select the Choose a running device option and choose the plugged-in device.
- Choose a running virtual device:
- Start a run/debug session.
- In the Choose Device dialog that opens, select the Launch emulator option and select a virtual device from the Android virtual device drop-down list.
If you want to use this device emulator without selecting it manually each time you start a run/debug session, select the Use same device for future launches option.
- Configure a new virtual device:
- Start a run/debug session.
- In the Choose Device dialog that opens, select the Android virtual device option and click the Browse button to launch the Android Virtual Device (AVD) Manager. For instructions on how to configure a device emulator using the Android Virtual Device Manager, refer to Android documentation.
See Also
Last modified: 18 July 2017