$ if [ -f ~/.profile ];then open ~/.profile -a TextEdit; fi
$ if [ -f ~/.bash_profile ]; then open ~/.bash_profile -a TextEdit; fi
添加需要的环境变量
export ANDROID_NDK_ROOT=/path
$ if [ -f ~/.profile ];then open ~/.profile -a TextEdit; fi
$ if [ -f ~/.bash_profile ]; then open ~/.bash_profile -a TextEdit; fi
添加需要的环境变量
export ANDROID_NDK_ROOT=/path