

This will bring up the Edit System Variable dialog. Click on Path to select it, then the Edit button.

In the System Variables section, scroll down till you see Path.This brings up the Environment Variables dialog. Click on Environment Variables button on the bottom of the dialog.This will bring up the System Properties window with Advanced tab selected. Click on Advanced System Settings on the left.This will bring up System window in Control Panel. What you need is the Environment Variables dialog. If you're a developer then you maybe need to access tools from both directories, although if you're a dev then you probably won't need to read this at all. So if you are reading this in year 2013 then you can probably just get the latest SDK and use only this last search path. This has been done in later versions of Android SDK. I should point out that adb.exe has been moved from C:\Program Files (x86)\Android\android-sdk\tools\ to the new location C:\Program Files (x86)\Android\android-sdk\platform-tools\. They actually put this in for the 32-bit systems. If anywhere, the installation location should be in "Program Files" folder for a 64-bit system. I have no clue why they are referring to AppData\Local\ folder in the guide for the 64-bit systems. So I updated the PATH variable with following line.Ĭ:\Program Files (x86)\Android\android-sdk\tools\ C:\Program Files (x86)\Android\android-sdk\platform-tools\Īnd now I can start ADB server from CMD regardless of where the prompt is at. But nevertheless, this is the default installation location. I checked the installation path and it's installed in C:\Program Files (x86)\Android even though I do have a 64-bit version of Windows. Maybe I need to CD to the android-sdk folder first before running the command? But then what use is it to add the path in the PATH variable?. So what gives? The CMD prompt is at C:\Users\myusername when I run the command. Replace YOURUSERNAME in the following lines with your Windows usernameģ2-Bit: C:\Program Files\Android\android-sdk\tools\ C:\Program Files\Android\android-sdk\platform-tools\Ħ4-Bit: C:\Users\YOURUSERNAME\AppData\Local\Android\android-sdk\tools\ C:\Users\YOURUSERNAME\AppData\Local\Android\android-sdk\platform-tools\Ĭlick OK, OK, and OK to close the Advanced settings. Windows XP: C:\Program Files\Android\android-sdk\tools\ C:\Program Files\Android\android-sdk\platform-tools\ I get the standard message in CMD that the command is not an internal, external command or a program.Īdd the following to the end of the Variable value field: I am following a Wiki on how to install and set up Android SDK and I am stuck at a step where I am supposed to test if the ADB server works by using the command adb start-server.
