In this tutorial, I will guide you on How to Install Android SDK or ADB on Windows. You need Android SDK installed and configured properly if you want to Flash a custom ROM, Root your device or Unlock Bootloader of your device. Android SDK is actually Android Software Developer Kit that every Advanced user of Android should have installed on their Computers running Windows.
Android SDK tool is also used by App Developers who use it to develop and test the apps they make to update them for different versions of Android Firmware. It contains ADB Tools and this tutorial will guide you how to install those tools for rooting, unlocking your Android Device or Flashing any Custom ROM in your Device.
Before we begin, there are a couple of things you need to know. I have listed them below, make sure you take a good look at them before you begin with any actual process.
Things you need to know before Installing Android SDK on Windows:
- This Tutorial is only for Windows OS. DO NOT use this method for Mac OS / Linux.
- There are some requirements to use Android SDK, you can take a look at them Here.
- Download the Java Development Kit or JDK on your Computer from Here.
That’s all. Lets get on with Installation process of Android SDK!
How to Install Android SDK on Windows:
Step 1: It is recommended that you use the starter package for Android SDK if you’re not an advanced user. You can download it from the link provided above.
Step 2: After downloading, extract the file and place it in your C driver. You will get something like this: C:\ android-sdk-windows
Step 3: Go to the above mentioned folder and open up SDK Manager.
Step 4: Select “Android SDK Platform-tools, revision 6” from the SDK Manager.
Step 5: After that, navigate to Available Packages -> Third party Add-ons -> Google Inc. add-ons -> check Google USB Driver package, revision 4 and install it. Then close the SDK Manger.
Step 6: Go to System Properties in your Computer by clicking on Start / Windows button -> Control Panel -> System proprieties.
Step 7: From there, select Advanced System Settings then Environment Variables.
Step 8: Now it’s time to set down the variables. To do so, Scroll down until you see Path, click on it.
Step 9: You’ll see a Value field, at the end of the line, enter the following:
Then Click “OK” and exit.
Step 10: Now get your Android Device and enable USB Debugging in it by going to Settings > Developer Options.
Step 11: Now connect your device to your Computer through a USB Cable and Install the proper drivers for your device.
Step 12: Open up Command Prompt on your Computer and type the following command in it:
After that, your device should be listed in the command prompt which means you’re done here! However, if you don’t see your device in the cmd, then something wrong might have happened. Do the following in order to solve it:
- Right click on the My computer icon and then open the Device manager. Or If you’re using Windows 8 or Windows 10, then right click on the Windows/Start Menu and Select Device Manager from there.
- A yellow exclamation mark should be near the Unknown Device group.
- Right click on ADB and select Update Driver Software -> Browse -> Let me pick.
- Click on Have disk -> browse.
- Head to path C:\android-sdk-windows\extras\google\usb_driver and choose android_winusb.inf. and click on the Android ADB Interface.
- Ignore the warnings if such is displayed.
- When the installation procedure is over, re-open the cmd on your computer, type adb devices once more; this time everything should be working as expected.
That’s it! You have successfully installed Android SDK on Windows. Now you can Root your device, Unlock its Bootloader or Flash Custom ROMs in it! If you have any problem, drop your comment below and I’ll get back to you!