Android Update, News, Apps and Hacks

How To Install ADB On Windows [Full Guide]

Advertisement

Below is a guide on How to install ADB (Android Debug Bridge) successfully on windows.

To know what is ADB click here.

 Install ADB with SDK


- Step 1

Make sure that the required drivers for your android device are properly installed on your PC. If you’re not sure then download and install the latest versions from your device manufacture’s website. Below are the links to download software of various manufacturers. Choose yours and install the required software.

Samsung Kies |   HTC Sync |   Motorola |   LG

- Step 2

Download and install the Android SDK (Software Development Kit) Starter package from http://developer.android.com/sdk/index.html.

Among the two choices for windows there, you can install by any option. The two options are explained below. Choice is yours.

  1. An “android-sdk_rXX-windows.zip” file which you can extract to any place on your PC and the adb program will work from there. For easiness with commands, I’d recommend you to extract it to C:\
  2. An “installer_rXX-windows.exe” file which easily installs ADB on your PC like any other program. However it downloads some Java stuff which is really not needed for working with adb, and it also takes a bit longer to install. If you want adb installed on your PC without any efforts of yours like extracting then go for .exe file to install adb.

With the release of version 8 (Android 2.3) of the SDK, adb has been removed from the starter package. So if you’ve downloaded and installed any earlier version then you can skip step 3 and jump to step 4.

- Step 3

For adb to work on version 8 of the SDK Starter package we have to add Platform Tools part to the SDK. Below are the steps:

  1. Open root directory of the SDK (for e.g. if you’ve installed or extracted it on:/ then go to this address “c:\Program Files\android-sdk-windows”
  2. Find “SDK Manager” and double-click on it to execute.
  3. It will check for updates on the Android website, and a pop up window will appear showing a list of available downloads. Just add the “Android SDK Platform Tools” and reject everything else

- Step 4

Add Path variable to avoid long lines of commands every time you want to run adb. Below are the steps:

  1. Right-click on “My Computer” and select “Properties”. Now under the “Advanced Tab” select “Enviroment Variables”
  2. Scroll and find the “Path” variable from the list. Double-click on it to edit it.
  3. Now add the full path of the “tools” and “platform-tools” folders of the SDK to your path. For e.g. on my computer, I had it installed in — C Drive – Program Files – Android – android-sdk. So, I put this in the Path (don’t put any space on either side of the semi-colon mark (;) which separates the pat of ‘tools’ folder and ‘platform-tools’ folder)  “C:\Program Files\Android\android-sdk\tools;C:\Program Files\Android\android-sdk\platform-tools”

- Step 5

On your Android device go to Settings->Applications->Development and make sure that “USB Debugging” is ticked. It’s essential for ADB to work!

Now plug your phone into your PC (using original cable that’s supplied by your manufacturer is recommended when working with ADB). If a window pops up saying “installing drivers” then wait for it to complete installation

- Step 6

Open command prompt from the menus, or Open “Run > and type cmd” to execute Command Prompt

Now insert the following code:

C:\>  adb devices

This should display something like the following :

List of devices attached
XXX12345    device

If you can see your device in the list then congratulations! You’ve done well. You are now good to start using adb. Enjoy!

If it’s NOT appearing in the list make sure that drivers are properly installed and you’ve enabled “USB Debugging” as told in Step 5. If problem persists, let us know in comments.

Thanks to XDA member steviewevie for his detailed post here.

Published: 
  • naser46

    also when i tried to execute SDK MANAGER a cmd like window appears for less than 1 second and disappears and nothing else happens

  • naser46

    when trying to run the command in cmd it says : ‘adb’ is not recognized as an internal

    operable program or batch file.

    • Jelle

      i have the same problem. Have you found it yet?

      • Jelle

        got it

  • http://www.facebook.com/haneef498 Haneef Sk

    in command prompt it says …ACESS IS DENIED

  • chef.garcia

    archos 10.1 g9 turbo, not showing on device list

  • JL

    Work great in my galaxy ace. I tried before installing Samsung Kies and it didn’t work (my laptop might not has installed the correct drivers by itself and no devices were being found in prompt). After that i follow the tuturial and now it’s fine.

  • Unbouned

    When I type the comman their saying that ‘C:’ is not recognized as an internal operation.

    • peter

      should type
      cd c: first
      and then adb devices

  • varun

    Hi! I’m an Xperia arc user. I’m stuck on flash screen (Sony). I forgot to install fast boot with adb. Help?

  • g_selvaraj
  • g_selvaraj
  • Dave

    it only show List of devices attached no serial

  • Ash Lokkur

    thr is no option to enable USB debugging on Kindle Fire …. wat shud i do ???

  • P____

    when i connect the phone to my pc nothing happens..

  • Michael Thomsen

    I’ve been having trouble getting my Optimus 2x to show in the device list.

  • http://www.theandroidsoul.com Shivam

    Try running SDK Manager with admin privileges — just right click on the SDK Manager.exe file and select “Run as Administrator”)

  • Johanna

    Downloading Android SDK Platform-tools, revision 1
    Failed to create directory C:\Program Files\Android\android-sdk-windows\temp

Some HTML is OK
Join us on Facebook!schliessen
oeffnen