Friday, December 16, 2011

How to add SDK tools directory to PATH variable?

This is in my book, and I can't figure out how to do it.





"At this point, it is recommended to add the Android SDK tools directory to the development environment system PATH variable. The tools directory can be found under the preceding unpacked root directory: %26lt;sdk%26gt;/tools/."





What the heck does that mean? What am I supposed to add to that file? SO confused.|||Windows (For temporary use in a single command teminal)



SET PATH=C:\path\to\androidroot\;%PATH%



Linux (For temporary use):



set PATH=$PATH:/path/to/android/root



-----------------

For perm use you can alter the base PATH environment variable in linux it's usually modifying your ~/.bashrc file, for wintendo it's usually under system properties -%26gt; advacned. Google "Setting environment variables in: $YOUR_OS_HERE" for more information|||The path is defined in your Autoexec.bat file. You'll see a line that says something like:





PATH = C:\Windows;C:\Windows\System32





They are saying you need to add the folder that your SDK is installed in to that line then reboot your computer.

No comments:

Post a Comment