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?
问题:
回答1:
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
回答2:
I got adb.exe
and the required .dll
files from: http://adbshell.com/downloads
Very minimalistic, but does exactly what it needs to do.
回答3:
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
回答4:
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
回答5:
You can download Minimal ADB and Fastboot from XDA developers following thread: http://forum.xda-developers.com/showthread.php?t=2317790
回答6:
It is now available officially from Google as a separate. You can download the required tools from here SDK Platform Tools Release