Is there any way how to install just ADB without whole SDK?

后端 未结 8 2040
滥情空心
滥情空心 2020-12-23 19:44

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?<

相关标签:
8条回答
  • 2020-12-23 20:15

    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

    0 讨论(0)
  • 2020-12-23 20:20

    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.

    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/

    0 讨论(0)
提交回复
热议问题