• Home
  • How To’s
  • Error Fixes
  • Apps
  • Basic Tutorials
  • Lists
  • Developers
How to Droid

Type and hit Enter to search

  • Home
  • How To’s
  • Error Fixes
  • Apps
  • Basic Tutorials
  • Lists
  • Developers
How to Droid
  • Home
  • How To’s
  • Error Fixes
  • Apps
  • Basic Tutorials
  • Lists
  • Developers
  • Home
  • How To’s
  • Error Fixes
  • Apps
  • Basic Tutorials
  • Lists
  • Developers
AndroiddevelopersHow To's

Fix Adb Is Not Recognized Error by Adding It to Command Prompt in Windows

3 Mins Read
0 Comments

Android Debug Bridge (henceforth adb) is a tool that allows us to run command line actions to interact with a connected Android device. With this tool you can run adb commands from the command prompt. There are many things that you can do with this handy tool. But for now, we are just going to learn how to install ADB to the command prompt in Windows. Without this installation, you would have to browse to “sdkplatform-tools” folder manually to locate adb.exe and use it via the command prompt. If you try to run it without doing this, you will get an error message like:

‘adb’ is not recognized as an internal or external command, operable program or batch file.

The first thing that you should have downloaded and extracted is the Android SDK Bundle. This bundle includes almost all the necessary tools to develop Android applications. The other thing that you must have downloaded is Java SE bundle. Android requires Java Development Kit (JDK) and Java Runtime Environment (JRE), and this bundle seems to have both. Learn how to install Android System Development Kit with Java SE in detail.

(adsbygoogle = window.adsbygoogle || []).push({});

Now, that everything is prepared, navigate to the folder where you extracted Android Developer Tools bundle. The folder, has a default name that goes something like adt-bundle-windows-x86_64-20131030. The name may be different if your OS version and released date is different. This is a package file that you can directly use after extraction. No installation is required. After locating this folder, navigate to sdkplatform-tools. There you will find adb.exe.

Follow these steps now:

  1. Find the entire path to adb.exe. Something like: C:UsersUSERNAMEAppDataLocalAndroidsdkplatform-tools
  2. Left click on start, right click on “Computer” and then left click on “Properties”.
    my-computer-properties
  3. Then click on “Advanced System Settings” in the Window that opens.
    advanced-system-settings
  4. From the advanced tab, click on “Environment Variables”.
    environment-variables
  5. Locate a “Variable” called “Path” under “System Variables”. Click on it and then hit on “Edit”.
    edit-path-system-variables
  6. There will already be a “Variable value”. Append the full path to adb to it. Remember to add a semi-colon (;) to the beginning of your value.
    My Variable value is:
    path-to-adt-exe
    appending-value-system-variable
  7. Hit on OK and then OK again in the next screen as well to save the changes that you made.

Now you can easy run commands like C:>adt from any directory in the command prompt.

Share Article

Other Articles

Previous

Untagging yourself from a Photo in Facebook App for Android or iPhone

Next

How to Record Your Android Screen using adb in KitKat 4.4

Next
March 3, 2014

How to Record Your Android Screen using adb in KitKat 4.4

Previews
February 12, 2014

Untagging yourself from a Photo in Facebook App for Android or iPhone

No Comment! Be the first one.

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

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

Terms of Service | Privacy Policy | Copyright © All Rights Reserved ®

  • Home
  • How To’s
  • Error Fixes
  • Apps
  • Basic Tutorials
  • Lists
  • Developers
This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-out if you wish. Cookie settingsACCEPT
Privacy & Cookies Policy

Privacy Overview

This website uses cookies to improve your experience while you navigate through the website. Out of these cookies, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may have an effect on your browsing experience.
Necessary
Always Enabled
Necessary cookies are absolutely essential for the website to function properly. This category only includes cookies that ensures basic functionalities and security features of the website. These cookies do not store any personal information.
Non-necessary
Any cookies that may not be particularly necessary for the website to function and is used specifically to collect user personal data via analytics, ads, other embedded contents are termed as non-necessary cookies. It is mandatory to procure user consent prior to running these cookies on your website.
SAVE & ACCEPT