Monday, November 7, 2016

[Android][Win8][Resolved] 'adb' is not recognized as an internal or external command, operable program or batch file in windows7 platform

Error message:

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

Thing you had to do is add the Sdk and platform tool of Android to your environment value.

Step1

Look out your Sdk and platform tool of Android first and copy the location. For my case, Android 2.2.2 in windows 8 is located here:
C:\Users\xenialaw\AppData\Local\Android\sdk\platform-tools

Step2

Right click the This PC and select "properties". (In windows 7)

Step3

Select "advanced system settings"

Step4

Click "Environment Variables" button

Step5

Add the location path you copied to the end of Variables value, and then add a semicolon after that.
C:\Users\xxxx\AppData\Local\Android\sdk\platform-tools;
Step6
Restart your android studio or command prompt.

 Reference

http://stackoverflow.com/questions/20564514/adb-is-not-recognized-as-an-internal-or-external-command-operable-program-or

No comments :

Post a Comment