Setting the PATH

Joined
May 4, 2011
Messages
1
Reaction score
0
Points
1
Hello, I am having trouble adding the path (/Users/Dewi/Documents/android-sdk-mac_x86/platform-tools) to the PATH variable
I managed to do it temporarily but the change was not permanent.
I have been stuck on this for ages.
Please Help
Thanks
 
Joined
May 14, 2009
Messages
2,052
Reaction score
136
Points
63
Location
Near Whitehorse, Yukon
Your Mac's Specs
2012 MBP i7 2.7 GHz 15" Matte - 16 GB RAM - 120 GB Intel SSD - 500 GB DataDoubler Mac OS 10.9
Code:
To add a directory path, or directory paths, to PATH (and thus creating '~/.bash_profile'):
 
01. Launch 'Terminal'.
02. Enter ...
 
echo 'export PATH=/Users/Dewi/Documents/android-sdk-mac_x86/platform-tools/:$PATH' >> ~/.bash_profile
 
(and press the <return> key)
 
03. Open another 'Terminal' window.
04. Enter ...
 
env
 
<return> ... and note that 'PATH' now includes your PATH.
This works fine for me, I pre-made the paths for you.
 

Shop Amazon


Shop for your Apple, Mac, iPhone and other computer products on Amazon.
We are a participant in the Amazon Services LLC Associates Program, an affiliate program designed to provide a means for us to earn fees by linking to Amazon and affiliated sites.
Top