Member-only story
How to test android apps in a real device with Android Studio?
1 min readOct 6, 2020
- First we have to enable the USB debugging mode. for that go to Settings -> Developer Options ->USB debugging in your phone checked it and allow it.
- After it open android studio, click on SDK manager , check mark the Google USB Driver and hit install package.
- After Installing Google USB Driver, close SDK Manager window, Connect your phone or tablet through USB cable to your laptop or PC.
- Now click on My Computer (Windows 7) (or) This PC(Windows 8.1).Select Manage.
- Select Device Manager –> Portable Devices –> Your Device Name
- Right Click on Your Device Name and Select Browse My Computer For Driver Software.
- Point it to C:\Users\YourUserName\AppData\Local\Android\sdk\extras\google\usb_driver. Hit Next and Finish.
- Now Hit Run Button after selecting Your Project in Project Explorer in Android studio. Choose your device and press OK.