终端 - 新用户Mac平台

时间:2017-04-28 10:03:39

标签: macos

我是mac的新用户,每当我尝试使用终端时,它都会显示错误:

-bash: export: `:/Users/daautomation1/Library/Android/sdk/platform-tools/sdk/platform-tools/': not a valid identifier
-bash: export: `:/Users/daautomation1/Library/Android/sdk/platform-tools/sdk/platform-tools/:/Users/daautomation1/Library/Android/sdk/tools:/platform-tools': not a valid identifier

1 个答案:

答案 0 :(得分:0)

尝试在终端中运行这些命令:

export PATH="/usr/bin:/bin:/usr/sbin:/sbin"
export PATH="/usr/local/bin:/usr/local/sbin:$PATH"