Hacks News

How To Install ADB On Windows [Full Guide]

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…

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…

54 Comments
Shivam

Shivam Shivam is our resident designer and web developer who also enjoys writing. He loves to meditate, drive on the freeways and hunt for snipers during his Call Of Duty playtime. Email: [email protected]

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 Filesandroid-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 FilesAndroidandroid-sdktools;C:Program FilesAndroidandroid-sdkplatform-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.

54 responses to “How To Install ADB On Windows [Full Guide]”

  1. Guest Avatar

    Downloading Android SDK Platform-tools, revision 1
    Failed to create directory C:Program FilesAndroidandroid-sdk-windowstemp

  2. Androiding Staff Avatar
    Androiding Staff

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

  3. Johanna Avatar
    Johanna

    Downloading Android SDK Platform-tools, revision 1
    Failed to create directory C:Program FilesAndroidandroid-sdk-windowstemp

  4. Shivam Avatar

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

  5. Guest Avatar

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

  6. Michael Thomsen Avatar
    Michael Thomsen

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

  7. Guest Avatar

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

  8. P____ Avatar

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

  9. P____ Avatar

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

  10. Guest Avatar

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

  11. Ash Lokkur Avatar
    Ash Lokkur

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

  12. Ash Lokkur Avatar
    Ash Lokkur

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

  13. Guest Avatar

    it only show List of devices attached no serial

  14. Dave Avatar

    it only show List of devices attached no serial

  15. Dave Avatar

    it only show List of devices attached no serial

  16. Guest Avatar
    Guest

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

  17. varun Avatar
    varun

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

  18. varun Avatar
    varun

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

  19. Guest Avatar

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

    1. Guest Avatar

      should type
      cd c: first
      and then adb devices

  20. Unbouned Avatar
    Unbouned

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

    1. peter Avatar

      should type
      cd c: first
      and then adb devices

  21. Unbouned Avatar
    Unbouned

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

    1. peter Avatar

      should type
      cd c: first
      and then adb devices

  22. Guest Avatar

    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.

  23. JL Avatar

    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.

  24. JL Avatar

    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.

  25. Guest Avatar

    archos 10.1 g9 turbo, not showing on device list

  26. chef.garcia Avatar
    chef.garcia

    archos 10.1 g9 turbo, not showing on device list

  27. chef.garcia Avatar
    chef.garcia

    archos 10.1 g9 turbo, not showing on device list

  28. Guest Avatar

    in command prompt it says …ACESS IS DENIED

  29. Haneef Sk Avatar

    in command prompt it says …ACESS IS DENIED

  30. Haneef Sk Avatar
    Haneef Sk

    in command prompt it says …ACESS IS DENIED

  31. Guest Avatar

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

    operable program or batch file.

    1. Guest Avatar

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

    2. Guest Avatar

      got it

  32. Guest Avatar

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

  33. naser46 Avatar

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

    operable program or batch file.

    1. Jelle Avatar

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

      1. Jelle Avatar

        got it

  34. naser46 Avatar

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

    operable program or batch file.

    1. Jelle Avatar

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

      1. Jelle Avatar

        got it

  35. naser46 Avatar

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

  36. naser46 Avatar

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

  37. Guest Avatar

    I am new in this so I will try it step by step until I can get it.

  38. OCR Kent Avatar

    I am new in this so I will try it step by step until I can get it.

  39. OCR Kent Avatar

    I am new in this so I will try it step by step until I can get it.