I need adb for some reason, but don't know how to install it and getting the usb-drivers? I heard you have to download the full android sdk? What is to do?
1 Answers
Firstly, you should know that there are two methods to install the Android SDK. If you only need it for a short operation via ADB or Fastboot, 1) is the right one for you. If you do more than hoping that this command or click was the right and you are interested in Android development, you should install the adb-tools via method 2).
1) Minimal Installation:
Notice that in this method you will only install the platform-tools like adb or fastboot.
1.1) Download:
- Download the platform-tools for your OS from https://developer.android.com/tools/sdk/tools-notes.html
- Unpack it to
<home-drive>\platform-tools
1.2) Mount:
The following steps are for Windows. If you need a different OS like Linux or OSX, have a look at this answer: https://android.stackexchange.com/a/42475/91312
- Copy the folder path.
- Open the Windows Explorer by pressing
+ E`. - Right-click on
This Computer-->Properties. Advanced System Settings-->Advanced-->Environment Variables.- Variable
PATH--> Add a;(Semicolon) & your<home-drive>\platform-tools. - Save all & close.
2) Full Installation:
Notice that you will install the full android-sdk and not only the platform-tools.
2.1) Download:
- Download the full SDK for your OS from https://developer.android.com/sdk/index.html
- Unpack it to
<home-drive>\sdk
2.2) Mount:
The following steps are for Windows. If you need a different OS like Linux or OSX, have a look at this answer: https://android.stackexchange.com/a/42475/91312
- Copy the platform-tools folder. For example
<home-drive>\sdk\platform-tools. - Run
SDK Manager.exeand update the platform-tools. - Open the windows explorer
+ E. - Right-click on
This Computer-->Properties. Advanced System Settings-->Advanced-->Environment Variables.- Variable
PATH--> Add a;(Semicolon) & your<home-drive>\platform-tools. - Save all & close.
Additional: If you now want to know why there are so many other files or try your own at building your own first app, have a look at the developer site of Google. https://developer.android.com/sdk/index.html
3) Drivers:
3.1) Download:
- Download the Google USB Driver from https://developer.android.com/sdk/win-usb.html
- Unrar & copy the path.
3.2) Installation (Windows):
+ R --> devmgmt.msc.Other devices-->android device.Install/Update driver-->Manual search-->Select from list--> selectData storage device.- Paste the path and select
android fastboot/adb device.