51

I need to install just ADB on customer´s PC to connect to android phone and install apk there. And because of SDK size is it possible to do it without installing whole SDK?

Chirag
  • 55,270
  • 29
  • 150
  • 194
user1254836
  • 1,729
  • 3
  • 12
  • 9

8 Answers8

25

Yes you can

Installing ADB in windows without Download Android SDK

  1. Firstly, you'll need a program that can partially download contents of zip files from the internet.
  2. Once that's set up, go to the SDK download page and grab the link to the SDK.
  3. In the zip file, navigate to "android-sdk-windows\tools"
  4. From there, select only "adb.exe", "AdbWinApi.dll" and "AdbWinUsbApi.dll"
  5. Download.

Source: http://twigstechtips.blogspot.in/2011/07/android-downloading-adb-without-sdk.html

Vinayak Bevinakatti
  • 38,839
  • 25
  • 103
  • 135
  • 8
    The link posted above explains: (1) Firstly, you'll need a program that can [partially download contents of zip files from the internet](http://twigstechtips.blogspot.com/2010/10/download-certain-files-from-zipraretc.html). (2) Once that's set up, go to the [SDK download page](http://developer.android.com/sdk/index.html) and grab the link to the SDK. (3) In the zip file, navigate to "android-sdk-windows\tools." (4) From there, select only "adb.exe", "AdbWinApi.dll" and "AdbWinUsbApi.dll." Download. – hotshot309 Jul 05 '12 at 18:25
12

It is now available officially from Google as a separate tool. You can download it from here SDK Platform Tools Release

MSaudi
  • 3,590
  • 2
  • 32
  • 58
6

I got adb.exe and the required .dll files from: http://adbshell.com/downloads

Very minimalistic, but does exactly what it needs to do.

David Ferenczy Rogožan
  • 18,863
  • 8
  • 68
  • 65
T.S
  • 326
  • 3
  • 18
4

Unfortunately, due to platform tools being moved to a separate package the method above doesn't work any more.

Edit: The new page is here with no info: http://wiki.cyanogenmod.org/w/Doc:_sdk_intro

But the old wiki is still available here: http://oldwiki.cyanogenmod.org/wiki/Howto:_Install_the_Android_SDK/Windows

Paul
  • 268
  • 2
  • 14
3

just copy the following files from any existing android sdk/platoform-tools folder to your pc and it should work

AdbWinUsbApi.dll AdbWinApi.dll adb.exe

rDroid
  • 4,569
  • 3
  • 23
  • 30
3

You can download Minimal ADB and Fastboot from XDA developers following thread: http://forum.xda-developers.com/showthread.php?t=2317790

Neeraj Gulia
  • 536
  • 5
  • 23
1

Platform tools are moved to different package so above listed methods are not working anymore. Method working on 04/04/2020 :

  1. Download platform tools from : https://dl.google.com/android/repository/platform-tools-latest-windows.zip
  2. Extract zip and open command prompt window from extracted folder having ADB binary.
  3. Enable usb debugging on your device and connect it.
  4. run command adb devices in command window, your device should be visible in device list now.
  5. Setup path variable for adb. New Android Studio adb location is

    C:\Users\USERNAME\AppData\Local\Android\sdk\platform-tools

Add this path to Path environment variable.

Right Click My Pc -> click properties -> Advance System Settings -> Environment Variables -> System Variables. -> scroll to find Path variable and path C:\Users\USERNAME\AppData\Local\Android\sdk\platform-tools; with semicolon(do not remove existing path string from this textbox). click ok. enter image description here

Now run command prompt from anywhere in computer location and run command adb devices and it will work!!

for more details you can visit official xda developers forum : https://www.xda-developers.com/install-adb-windows-macos-linux/

Rajesh Sharma
  • 101
  • 1
  • 4
-1

The best way I believe however is to open Android Studio go to Tools->SDK Manager then click on the SDK Tools tab, look if there is any update available for Android SDK Platform Tools and update it if available.enter image description here

Anuragraphy
  • 17
  • 1
  • 4