1、打开终端
2、vi编辑: vi ~/.bash_profile
3、export PATH=$PATH:目录:目录:目录
例如:(1)export PATH=$PATH:$NDK_ROOT:$ANT_HOME/bin
(2)export PATH=$PATH:/opt/adt-bundle-mac-x86_64-20140321/sdk/platform-tools
1、打开终端
2、vi编辑: vi ~/.bash_profile
3、export PATH=$PATH:目录:目录:目录
例如:(1)export PATH=$PATH:$NDK_ROOT:$ANT_HOME/bin
(2)export PATH=$PATH:/opt/adt-bundle-mac-x86_64-20140321/sdk/platform-tools