How to Run the Android App on a Real Device?

The time comes when the Android Studio project is ready and you want to test that application. One can test the application by running the application which can be done in two ways.

So in this article, we are going to discuss how to run the Android app on a real device. So before running the app on a real device we have to set up the real device first. Set up your device as follows:

Steps for Running the Android App on a Real Device

Step 1: In the physical android device goto Settings -> About phone and then find the Build Number Option.

step 1 screenshot

Step 2: Then one needs to tap the Build Number option fast until it shows, “No need, you are already a developer” as a Toast message.



step 2 screenshot

Step 3: Go back to the Settings menu and search for the USB Debugging. And open the USB Debugging option.

step 3 screenshot

Step 4: Then find the USB Debugging option and enable it. One alert dialogue pops up and you need to click “OK” and make sure that the developer option should be kept “on”.

step 4 screenshot

Step 5: Now open the android studio project and then connect the device to the PC using a suitable USB cable and if there are no USB drivers installed in your PC of your android device then you can google search and download and install the USB driver of the specific device model number.

Step 6: As soon as you connect the device, in the physical device, it asks to allow USB debugging for the PC you connected. Then you need to check “Always allow this computer”, and hit the “Allow” button.

step 5 screenshot

Step 7: Now you can see the device name under the Running devices list in Android Studio IDE. Select your device and then click on the Run Button, and the application you developed in Android Studio will be up and running. Following is the symbol of the Run button.

run buttonstep 7 screenshot

My Personal Notes arrow_drop_up

Check out this Author's contributed articles.

If you like GeeksforGeeks and would like to contribute, you can also write an article using contribute.geeksforgeeks.org or mail your article to contribute@geeksforgeeks.org. See your article appearing on the GeeksforGeeks main page and help other Geeks.

Please Improve this article if you find anything incorrect by clicking on the "Improve Article" button below.


Article Tags :
Practice Tags :


Be the First to upvote.


Please write to us at contribute@geeksforgeeks.org to report any issue with the above content.