Tips for Android developer: Android SDK tools PATH setting

After you installed the Android SDK, it’s a good idea to add the tools directory to your search path, which includes a useful collection of command-line tools.

Windows:

Suppose you install the Android in”D:\ android-sdk-windows\tools”, there two methods to set the PATH, one is use the command:

set path=%path%;D:\ android-sdk-windows\tools;

Another is by:

My Computer->Property->Advanced->Environment Variables->Edit Path Variable and add “D:\ android-sdk-windows\tools” into the Path Variables.

Linux and Mac:

Edit the ~/.bashrc or ~/.bash_profile, add “export PATH=$PATH:/tools”, such as:

1. Linux:export PATH=$PATH: /android-sdk-linux/tools

2. Mac:export PATH=$PATH: /android-sdk-Mac_x86/tools

After saved the file, excuting “source ./.bashrc ” to make the PATH setting become effective.

Related Android Apps:

  1. Tips for Android developer: failed to copy file to system
  2. Tips for Android developer: “Conversion to Dalvik format failed: Unable to execute dex: null”
  3. Tips for Android developer: Android emulator appearance standard
  4. Tips for Android developer: SQLite Database
  5. Tips for Android developer: Logcat
  6. Tips for Android developer: An SDK Target must be specified
  7. Tips for Android developer: install & uninstall Android applications
  8. Tips for Android developer: Project contains errors
  9. Android SDK Tools Overview
  10. Tips for Android developer: Android source code