- In Android Studio, select your app from the run/debug configurations drop-down menu in the toolbar.
- In the toolbar, select the device that you want to run your app on from the target device drop-down menu.
- Click Run. Android Studio installs your app on your connected device and starts it. You now see "Hello, World!" displayed in the app on your device.
- In Android Studio, create an Android Virtual Device (AVD) that the emulator can use to install and run your app.
- In the toolbar, select your app from the run/debug configurations drop-down menu.
- From the target device drop-down menu, select the AVD that you want to run your app on.
- Click Run. Android Studio installs the app on the AVD and starts the emulator. You now see "Hello, World!" displayed in the app.