If you have landed directly here, please note that this page is part of a larger tutorial. Start reading from Page 1.
2. Installing and Setting Up ADB and Google USB Drivers
Now that we have everything set up — Android Studio, Android SDK files, drivers etc. we can proceed with setting up ADB with the Nexus 6P phone. In this part, we will tell you how to use the downloaded USB drivers to set up ADB.
NOTE: USB drivers may be different for other OEM Android phones.
Step 21 – Make sure USB debugging is enabled on your phone. How? Read this: How to Enable USB Debugging.
Step 22 – Connect your Android phone to the computer and wait till Windows install all the drivers it could. Once completed, your phone should have a similar screen in your notifications panel.
Step 23 – Go to Start -> Settings -> Devices -> Connected devices -> Device manager. In the list, you will see your phone.
Step 24 – Right-click on it, and select Update Driver Software…
Step 25 – Select the second option from the following screen: Browse my computer for driver software
Step 26 – Again, select the second option from the next screen as shown below.
Step 27 – Click the Have Disk… button.
Step 28 – Now browse to the location of your Android SDK and the exact path where Google USB drivers have been downloaded in Step 18 or you can copy/paste the given path below:
Then click on OK.
NOTE: Please make sure you have enabled to view hidden files and folders in your PC. If you have not, please Google that first or else you will not be able to ‘see’ the AppData folder.
Step 29 – You will be show a list of Android model drivers. Select Android Composite ADB Interface and click Next.
Step 30 – Click the ‘Install’ button if you see the following warning message.
Step 31 – Do you see the following screen now? Congratulations! ADB drivers are now successfully installed on your computer!
Step 32 – Now to verify ADB is working fine, go to the platform-tools directory in your Android SDK folder:
Step 33 – Open Command Prompt in this folder. Hold Shift key + right-click anywhere in the folder and select Open command prompt here.
Step 34 – Type the following command in the Command Prompt window and press Enter.
Step 35 – If you see the screen as in the screenshot above, you have successfully set up ADB on your computer for your Android phone.
NOTE: You may have to allow USB debugging on your Android phone when using it on this computer. Tap OK on your phone screen.