How To Setup & Install ADB With Android SDK

0

Get real time updates directly on you device, subscribe now.

How To Setup & Install ADB With Android SDK

wanna set up and install ADB with Android SDK? When we talk about Android modding, some beginner users are left gaping or amazed by a source over a source to a certain “ADB”. Well, it is true when you are wondering about something on modding your mobile device or root it in special. If you are a hardcore Android device user you must have heard about the Android ADB. It is used to send commands to an Android device using a computer’s command line.

ADB Intro:

ADB stands for Android Debug Bridge, a command system that enables you to manage a device from your computer. It helps when the device is powered on and booted into OS or Recovery. ADB appears as a part of the standard Android SDK. If you need it then be with me over here. So a command-line is the only means to utilize and attain root access to conduct some advanced operations on your device utilizing root access. the access you can do all these things immediately on the device using some terminal emulator, it will be quite hard to run complicated commands on the small screen. ADB provides the bridge between your computer and your machine.

How To Setup & Install ADB With Android SDK

 

Steps To Install ADB

Follow the given steps to install ADB with Android SDK:

Step 1: Install Android SDK

 While updating this article, the new version of the Android SDK available and we shall be utilizing it throughout the next of the article. The tool works in a similar means, however, even if you give a later model. In the case of before variants though, the area of some tools was quite different and it is approved that you get the recently available model.

The first step is to download or install the SDK.  There are models available for Linux, MS Windows, and Mac OS X. In the case of Windows, both zip file and installer are usable but there is not any necessity to use the installer as a formal installation is not needed.

After you have successfully downloaded the SDK, just extract or unzip the abrupt file to a location on your PC. In our case, we have unzipped it to the root of our C drive and that makes C:\android-SDK-windows the installation location of the SDK. Then we shall be relating to this location as the ‘SDK folder’.

Step 2: Download/Install SDK Platform Tools

Before, ADB can be used to be added in the SDK by default in the ‘tools’ sub-folder. But now ADB has been relocated to the sub-folder which requires to be installed as an SDK package. Luckily this is very simple and easy:

Simply browse to the SDK folder and then launch SDK Manager. After you successfully launching it for the first time, a window appears to select packages to install. The first option starts with ‘Android SDK. Make convinced it is marked, and unmark all the other packages for now. You can also mark/unmark a package after tapping on its name and then selecting the Accept/Reject radio button.

Now just tap ‘Install’ and wait a while until the platform-tools are installed. Now you have a folder in your SDK folder. That folder will add ADB and all its reliances.

Step 3: Set Path variable

once you have successfully installed ADB but utilizing it this way needs you to either use the full path of the ADB command (C:\android-SDK-windows\platform-tools\adb) or to change the manual to the subfolder of platform-tools. But it becomes quite a conflict. To make ADB with many other platform tools or Android SDK tools handily available from anywhere at the command line. So all you need to do is to add their paths to the PATH environment variable. This technique will apply to Windows users only. Well, if you are a Mac or Linux or user, add the ‘ and ‘tools’ sub-folders of the Android SDK to your PC PATH variable with the help of the standard procedure for your OS.

In case, if you have no experience while editing PC environment variables, you can then make a System Restore point now so that you can handily move back to it in case if something goes wrong.

If you are working with Windows 7 you can then right-tap the ‘Computer’ icon and tap ‘Properties’. Now tap ‘Advanced System Settings’ from the options found in the left pane to bring up the ‘System Properties’ window. However, Windows XP users will rapidly get this window when they right-tap on ‘My Computer’ and tap ‘Properties’.

From the System Properties window, click the ‘Environment Variables’ button located on the ‘ tab.

Further;

Then search the ‘Path’ in the ‘System variables’ section and double-tap it to edit it.

Make sure NOT to eliminate the existing entry in ‘Variable value’ or it will mess up with things on your PC. Simply add the following string to the end of it, including both the semi-colons:

;c:\android-sdk-windows\tools;c:\android-sdk-windows\platform-tools

If you have unzipped the SDK’s contents to another manual, then simply use that one for your PATH variable.

After you successfully adding the string, this is what my Path variable seems like:

C:\Program Files\Common Files\Microsoft Shared\Windows Live;C:\Program Files (x86)\Common Files\Microsoft Shared\Windows Live;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\ATI Technologies\ATI.ACE\Core-Static;C:\Program Files (x86)\Windows Live\Shared;C:\Program Files\Java\jdk1.6.0_23\bin;C:\Program Files (x86)\Java\jdk1.6.0_23\bin;C:\android-sdk-windows\tools;C:\android-sdk-windows\platform-tools

Don’t worry if yours does not add some of the other text. The significant thing is the way you add a new record to the existing one, and the way the earlier access MUST be left unchanged. Make sure that the semi-colons are important to insulate every path uncertain entry from the next and first ones. Whenever you have successfully added the path, your machine might need to reboot.

If you blew while editing the Path unstable and ended up removing the earlier existing entries. You can then restore the System Restore point you made and retry, but you should be more careful this time.

Step 4: Install USB drivers

At last, you need to install or download the USB drivers. You possibly don’t need to perform this step, relying on your mobile device. After using a device that ships with a commodity Android OS like the Nexus One, this will be essential. In case of other devices that ship using their custom variant of Android and some tools to sync the device with the computer, like devices from HTC that ship with HTC Sync or devices by Samsung that ship with Samsung’s software, the perfect driver for your device will be installed automatically with that software package.

The first step will be to download or install the USB drivers. If you want to do this, simply launch SDK Manager from the SDK folder and then tap on ‘Available packages’ in the left pane.

You can now expand ‘Third-party Add-ons’ followed by ‘Google Inc. and then check ‘Google Usb Driver package’.

Tap ‘Install Selected’ and in the window that appears. Solely tap the ‘Accept all’ radio button followed by the ‘Install’ button. Wait until the USB drivers are downloaded or installed in the Android SDK.

The drivers for both 64 bit or 32 bit systems will now be added in the SDK folder under ‘usb_driver\x86’ and ‘usb_driver\x64’ sub-folders respectively.

Further;

After you successfully install the USB drivers, you can now install or download them to your PC as follows:

From the device, head over to the home screen. Then click the menu, choose Applications > Development, and turn on USB Debugging.

Now connect or plug your mobile into the computer through USB. New hardware installation should kick in, and it will start searching for the drivers.

You can then manually point the drivers to the folder suitable for your OS and allow them to install.

When drivers have installed, you can then assess successful installation by moving to Device Manager. Your mobile device showing under ‘ADB Interface’.

How To Set Up ADB

In this section, you can use or set up ADB to utilize your mobile in whatever way you want. On Windows, the best thing to do so is using the command notify. To assure that ADB has been appropriately set up, simply run the command prompt and input ‘ADB devices’, and press enter. Your affiliated device should display up with a serial number.

Final words:

Here’s all about “How to set up and install ADB with Android SDK ADB”. Is this article helpful? Did you face any problems while installing ADB? Share your thoughts with us in the comment down the section below. Also, for further queries and questions let us know in the comment section below!

Get real time updates directly on you device, subscribe now.

Leave A Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.