While running Android Studio, you can instantly connect an Android device via USB on Mac or Linux, and run a developing app on that device. What about Windows? For Windows, you’ll need to install the Google USB Driver before running your developing app on your Android device, phone, or tablet.

Official docs: http://developer.android.com/tools/extras/oem-usb.html

usbdriver

 

List of steps for Windows 7, 8, and 10

  1. Connect your Android device to the PC.
  2. Open Android Studio, open the SDK Manager, and install the Google USB Driver.
  3. Search and open Device Manager.
  4. Find and expand Other devices section.
  5. Right click the device name (i.e. Nexus 5) and select Update Driver Software.
  6. Browse my computer for driver software and click Next.
  7. Browse for the Google USB driver folder and click next to install the driver.

Connect your Android device to the PC. Easy enough. Plug your Android device via USB to your PC.

Open Android Studio, open the SDK Manager, and install the Google USB Driver. The SDK Manager can be opened by the following Android Studio icon:

sdkmanager

Click on Android SDK. Check off the Google USB Driver and hit OK to install.

googleusbdriver

Search and open Device Manager. You can use Windows search to find the Device Manager.

Find and expand Other devices section. Right click the device name (i.e. Nexus 5) and select Update Driver Software.

devicemanager

Browse my computer for driver software and click Next. Browse for the Google USB driver folder and click next to install the driver. The Google USB driver folder should be inside your C:\Users\*username*\AppData\Local\Android\sdk\extras\google\usb_driver\.

updatedriver

After installing, when running Android studio, you should be able to run any developing app project on your Android device. When you hit the play button on Android Studio, a prompt should pop up and ask what connected or virtual device you want the app to be run on. Select the connected Android device, phone, or tablet and voila! You will need to unlock your Android device to see the app immediately be run.