Tuesday, April 30, 2013

ADB is Not Recognized as an internal or external command Fix


ADB is Not Recognized as an internal or external command Fix


Some of you are facing problems with Path, because of that you will see the error as below. Even though it is basic lot of people asking this same question. Hence posting this tutorial to fix this error.

In Windows --> Click Start --> Run --> cmd

When you run adb in the command prompt you will see an error as below

Microsoft Windows [Version 6.2.9200]
(c) 2012 Microsoft Corporation. All rights reserved.

C:\Users\MOHAMMED>adb
'adb' is not recognized as an internal or external command,
operable program or batch file.


To fix this error you need the Android SDK if you don't have it please follow the steps below,


Open the browser and navigate to http://developer.android.com/index.html


Click the Get the SDK as shown in the above image


Click Download the SDK as shown in the above image


Check the checkbox for the license agreement, Select 32 or 64 bit based on your operating systtem.
Click the download SDK link.

Wait patiently until the download is complete.

My machine is a 64 bit Windows, hence the file downloaded is adt-bundle-windows-x86_64-20130219.zip

The zip file contains the following folders eclipse & sdk.

I have extracted to the following location in my machine

Hence i have the following in the path 

C:\Users\MOHAMMED\Downloads\adt-bundle-windows-x86_64\sdk\platform-tools


C:\Users\MOHAMMED\Downloads\adt-bundle-windows-x86_64\sdk\tools


You can see that adb.exe is in the location C:\Users\MOHAMMED\Downloads\adt-bundle-windows-x86_64\sdk\platform-tools



Execute the following commands in the command prompt and run adb it will be recognized now.

set ANDROID_PLATFORM_TOOLS="C:\Users\MOHAMMED\Downloads\adt-bundle-windows-x86_64\sdk\platform-tools"

set ANDROID_TOOLS="C:\Users\MOHAMMED\Downloads\adt-bundle-windows-x86_64\sdk\tools"

set path=%path%;%ANDROID_PLATFORM_TOOLS%;%ANDROID_TOOLS%



To Fix it permanently set in the environment variable 


Right Click My Computer --> Click Properties 


Click Advanced System Settings 

Click Environment Variables


Click New  as below, 


Variable name: ANDROID_PLATFORM_TOOLS

Variable Value: C:\Users\MOHAMMED\Downloads\adt-bundle-windows-x86_64\sdk\platform-tools


Variable name: ANDROID_TOOLS

Variable Value: C:\Users\MOHAMMED\Downloads\adt-bundle-windows-x86_64\sdk\tools



Edit the Path variable if it exist, else create a new variable Path 

Variable name: Path

Variable Value: %Path%;%ANDROID_PLATFORM_TOOLS%;%ANDROID_TOOLS%



adb should be working on command prompt and 'adb' is not recognized as an internal or external command,
operable program or batch file is resolved now.





30 comments:

  1. Thanks man.. It helps me alot

    ReplyDelete
    Replies
    1. The development of artificial intelligence (AI) has propelled more programming architects, information scientists, and different experts to investigate the plausibility of a vocation in machine learning. Notwithstanding, a few newcomers will in general spotlight a lot on hypothesis and insufficient on commonsense application. machine learning projects for final year In case you will succeed, you have to begin building machine learning projects in the near future.

      Projects assist you with improving your applied ML skills rapidly while allowing you to investigate an intriguing point. Furthermore, you can include projects into your portfolio, making it simpler to get a vocation, discover cool profession openings, and Final Year Project Centers in Chennai even arrange a more significant compensation.

      Data analytics is the study of dissecting crude data so as to make decisions about that data. Data analytics advances and procedures are generally utilized in business ventures to empower associations to settle on progressively Python Training in Chennai educated business choices. In the present worldwide commercial center, it isn't sufficient to assemble data and do the math; you should realize how to apply that data to genuine situations such that will affect conduct. In the program you will initially gain proficiency with the specialized skills, including R and Python dialects most usually utilized in data analytics programming and usage; Python Training in Chennai at that point center around the commonsense application, in view of genuine business issues in a scope of industry segments, for example, wellbeing, promoting and account.

      The Nodejs Projects Angular Training covers a wide range of topics including Components, Angular Directives, Angular Services, Pipes, security fundamentals, Routing, and Angular programmability. The new Angular TRaining will lay the foundation you need to specialise in Single Page Application developer. Angular Training

      Delete
  2. Ifb washing machine repair

    They are providing washing machine repair services which consist of single door refrigerator,Double door refrigerator ,Triple door refrigerator,Four door refrigerator,french door refrigerator ,side by side fridge and Semi-automatic Washing machine repair Services,Fully-automatic Washing machine repair Services,Top load Washing machine repair services ,front load washing machine repair services. We also provide Microwave repair service ,oven repair service and other appliance repairs etc.
    Ifb washing machine repair

    ReplyDelete
  3. Nice Blog!
    Facing error while using QuickBooks get instant solution with our QuickBooks experts.Dial +1-(855)533-6333 Quickbooks Enterprise Support Phone Number

    ReplyDelete
  4. Nice information .
    fantasy cricket app, If you have good knowledge of cricket you can win huge amount by using of skill at top 10 fantasy cricket apps or new fantasy cricket app many and more people are earn amount at this new fantasy app.
    top 10 fantasy cricket apps

    ReplyDelete
  5. Thanks for sharing this useful information! Hope that you will continue with the kind of stuff you are doing. Print profits review

    ReplyDelete
  6. Nice Article, Keep providing this kind of information.
    Thank You.
    If any one need Software Company Pakistan then contact us

    ReplyDelete
  7. Hi....Nice Blog. If you are facing any issue in QuickBooks, dial QuickBooks Support Number in Arizona and get your problem instantly.

    ReplyDelete
  8. informative article , thank you for the post everyone is looking for this type article brisk logic best web development agency digital transformation

    ReplyDelete
  9. It's a great blog, shares a piece of good information.

    GIEC Global is the leading education and migration consultants in Australia. We are top Education consultants in Melbourne, Sydney, Perth, Brisbane, Adelaide and Australia. We are best education consultants for Canada in Australia. We also helps people in studying in USA and have been awarded as education consultants for USA in Melbourne and education consultant for UK in Australia.

    ReplyDelete
  10. The awesome blog shares good information with everyone. I will bookmark it in the future.

    France Education Consultants in Australia is GIEC Global. We are top Education consultants for Norway in Melbourne, Sydney, Perth, Brisbane, Adelaide and Australia. We are best education consultants for Netherlands in Australia. We also helps people in studying in Ireland and have been awarded as education consultants for Ireland in Melbourne and education consultant for Finland in Australia.

    ReplyDelete
  11. Nice Blog, worth reading it. I have also bookmarked it for the future.

    If you are looking to Work in Australia , Work in Canada, Work in USA, Work in UK, or Work in Ireland then GIEC Global will be the best consultant for you in Australia.

    ReplyDelete
  12. Thank you for sharing this valuable information.

    Apparrant is the leading UX UI Design agency having experienced designers and developers working throughout the year on important and life changing products. We have been awarded as top UI UX Design agency in India by multiple agencies. If you are looking for best UX Design Agency in Noida, UI UX Design Agency in Faridabad, and UX UI Design Company in Delhi then Apparrant is best for you.

    ReplyDelete
  13. Nice Information. I really liked it and admire you for posting it on the internet for the benefit of a larger Audience.

    If you are looking for best App design and development company in Noida, Delhi NCR, Gurgaon, Faridabad and India then Apparrant is Awesome. We have been known as leading Mobile and web application development company in Noida, India. Work of Apparrant can be checked on our website along with the processes we follow in to the web or App design and technologies we use at Apparrant.

    ReplyDelete
  14. Hey friend, it is very well written article, thank you for the valuable and useful information you provide in this post. Keep up the good work! FYI, german shepherd growth chart , How do chips make credit cards more secure, why i am an atheist,Short Paragraph on A Book Fair

    ReplyDelete
  15. I feel like I’m constantly looking for interesting things to read about a variety of subjects, but I manage to include your blog among my reads every day because you have compelling entries that I look forward to. Here’s hoping there’s a lot more amazing material coming! buy internal storage online

    ReplyDelete