-
-
Notifications
You must be signed in to change notification settings - Fork 185
Adding platform tools to the PATH environment variable
Arthur Silva edited this page Oct 31, 2020
·
1 revision
- Open ~/.bash_profile with any text editor you like.
- Add the following line with the full path to the platform-tools directory:
export PATH=~/Library/Android/sdk/platform-tools/:$PATH
. This path may be different depending on the way you installed platform-tools. - Save file and restart Terminal.
- On the Windows desktop, right-click My Computer.
- In the pop-up menu, click Properties.
- In the System Properties window, click the Advanced tab, and then click Environment Variables.
- In the System Variables window, highlight Path, and click Edit.
- In the Edit System Variables window, insert the cursor at the end of the Variable value field.
- If the last character is not a semi-colon (;), add one.
- After the final semi-colon, type the full path to the platform-tools directory:
C:\Users\USERNAME\AppData\Local\Android\sdk\platform-tools
. This path may be different depending on the way you installed platform-tools. - Click OK in each opened window and restart Command Prompt.