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?
-
1Great question, great answer! – hotshot309 Jul 05 '12 at 18:25
-
See post below. Here is a link: http://adbshell.com/downloads – James Hayek Aug 28 '16 at 20:55
-
http://stackoverflow.com/tags/adb/info – Alex P. Oct 21 '16 at 14:24
8 Answers
Yes you can
Installing ADB in windows without Download Android SDK
- Firstly, you'll need a program that can partially download contents of zip files from the internet.
- Once that's set up, go to the SDK download page and grab the link to the SDK.
- In the zip file, navigate to "android-sdk-windows\tools"
- From there, select only "adb.exe", "AdbWinApi.dll" and "AdbWinUsbApi.dll"
- Download.
Source: http://twigstechtips.blogspot.in/2011/07/android-downloading-adb-without-sdk.html
![](../../users/profiles/28557.webp)
- 38,839
- 25
- 103
- 135
-
8The 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
It is now available officially from Google as a separate tool. You can download it from here SDK Platform Tools Release
![](../../users/profiles/773718.webp)
- 3,590
- 2
- 32
- 58
I got adb.exe
and the required .dll
files from: http://adbshell.com/downloads
Very minimalistic, but does exactly what it needs to do.
![](../../users/profiles/971141.webp)
- 18,863
- 8
- 68
- 65
![](../../users/profiles/5736369.webp)
- 326
- 3
- 18
-
Can this source be trusted? Anyone compared the fingerprints? – Matthias Güntert Apr 17 '20 at 18:29
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
![](../../users/profiles/1633734.webp)
- 268
- 2
- 14
-
-
1Thanks, looks like they've changed to a new wiki and dumped some old content. Updating my post. – Paul Feb 08 '13 at 00:26
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
![](../../users/profiles/607968.webp)
- 4,569
- 3
- 23
- 30
You can download Minimal ADB and Fastboot from XDA developers following thread: http://forum.xda-developers.com/showthread.php?t=2317790
![](../../users/profiles/209306.webp)
- 536
- 5
- 23
Platform tools are moved to different package so above listed methods are not working anymore. Method working on 04/04/2020 :
- Download platform tools from : https://dl.google.com/android/repository/platform-tools-latest-windows.zip
- Extract zip and open command prompt window from extracted folder having ADB binary.
- Enable usb debugging on your device and connect it.
- run command
adb devices
in command window, your device should be visible in device list now. 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.
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/
![](../../users/profiles/13187257.webp)
- 101
- 1
- 4
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.
![](../../users/profiles/9359661.webp)
- 17
- 1
- 4
-
Thanks for posting, unfortunately that doesn't meet the OPs initial requirement – Matthias Güntert Apr 17 '20 at 18:31