How to Set Up ADB and Fastboot with Android SDK on Windows 7 & Windows 8
II – INSTALLING AND SETTING UP ADB & DRIVERS
Now that we have all the files, drivers and tools needed. We can proceed on setting up ADB for my Galaxy Nexus. 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 Android phones.
Step 10 - Make sure USB debugging is enabled on your phone. How? See here: How to Enable USB Debugging.
Step 11 - Connect your Android phone to the computer and wait till your PC installs all the drivers it could. Most of the drivers would fail to install.
Step 12 - Go to Start -> Control Panel -> System -> Device Manager. In the list, you will see your phone.
Step 13 - Right-click on it, and select Update Driver Software…
Step 14 - Select the second option from the following screen.
Step 15 - Again, select the second option from the next screen as shown below.
Step 16 - Select Show All Devices and click Next.
Step 17 - Click the “Have Disk” button. Now browse to D:\android-sdk-windows\extras\google\usb_driver directory and select android_winusb.inf. Click Open. Then click on OK.
Step 18 - You will be show a list of Android drivers. Select Android ADB Interface and click Next.
Step 19 - Click Yes to the warning message.
Step 20 - Now wait till driver installation gets over. Click the ‘Install’ button if you see the following warning message.
Step 21 - Do you see the following screen now? Congratulations! ADB drivers are now successfully installed on your computer!
Step 22 - Now to verify ADB is working fine, go to the platform-tools directory (D:\android-sdk-windows\platform-tools).
Step 23 - Open Command Prompt. Hold Shift key + right-click anywhere in the folder and select Open command prompt here.
Step 24 - Type “adb devices” (without quotes) in the Command Prompt window and press Enter.
Step 25 - If you see the screen as in the screenshot above, you have successfully set up ADB on your computer for your Android phone.