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?<
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
Platform tools are moved to different package so above listed methods are not working anymore. Method working on 04/04/2020 :
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/