Android App Development #3

Run your app on a physical device

Divyendra Rajawat
1 min readMar 20, 2021
Photo by Sigmund on Unsplash

Set up your device as follows:

  1. Connect your device to your development machine with a USB cable. If you developed on windows, you might need to install the appropriate USB drive for your device.
  2. Perform the following steps to enable USB debugging in the Developer options windows:
  • Open the Setting app.
  • If your device uses Android 8.0 or higher, select System.
  • Scroll to the bottom and select About phone.
  • Scroll to the bottom and tap Build number seven times.
  • Return to the previous screen, scroll to the bottom and tap Developer options.
  • In the Developer options window, scroll down to find and enable USB debugging.

Run the app on you device as follows:

  1. In Android Studio, select your app from run/debug configurations drop down menu in the toolbar.
  2. In the toolbar, select the device that you want to run your app on the target device drop-down menu.
  3. Click RUN.
  4. Android Studio will install your app on you connected device and then starts it.

Will see you in the next blog…In next blog we will be learning to run your app on the emulator.

--

--