


I strongly suggest the first, but both work fine and the second is better if you plan to use the PATH variable a lot.To use some features, Tasker needs to run some ADB commands on your device through your PC Note: Both tutorials require administrator/sudo access. Adding to Windows has two methods.

I will cover how to add the platform tools to the Linux PATH variable too. PATH also exists on Linux and usually contains the bin and sbin directories. We will be modifying the PATH system variable to allow us to use adb or Fastboot anywhere on our Windows computer. This is useful to people using Java applications so the program does not have to attempt to hard code the Java location. Java adds itself to the PATH variable on installation, meaning you can use Java from any directory. This variable is sometimes changed by applications when you install them, such as Java. This is why you can type "calc" in the command prompt to launch calculator, but not "chrome" to launch Google Chrome. Usually, these are files located in the system directories, such as C:\Windows and C:\Windows\system32.

PATH is used by Windows to specify the location of important executables.
