我正在尝试在OSX中为Grails和Android添加多个环境路径。
这是我的.bash_profile
看起来像
export GRAILS_HOME=/Users/jon/Downloads/grails-2.4.0
export PATH=$PATH:$GRAILS_HOME/bin
export PATH = ${PATH}:/Users/jon/Library/Android/sdk/tools
export PATH = ${PATH}:/Users/jon/Library/Android/sdk/platform-tools
echo path显示此输出:
/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Users/jon/Downloads/grails-2.4.0/bin
Android似乎没有添加?
答案 0 :(得分:0)
删除annotate()
符号周围的空格并删除=
{}
变量,并更改以下行:
PATH