配置环境变量
2018-12-26 本文已影响8人
主音King
比如配置sdk/tools/bin/monkeyrunner的monkeyrunner路径
终端输入:
open ~/.bash_profile
将将sdk/tools/bin所在的路径添加到环境变量中(推荐)
export ANDROID_HOME=/Users/电脑名字/Library/Android/sdk
export PATH=${PATH}:${ANDROID_HOME}/tools
export PATH=${PATH}:${ANDROID_HOME}/tools/bin:$PATH
export PATH=${PATH}:${ANDROID_HOME}/platform-tools
当然你可以这样加:
export PATH=/Users/你自己的环境路径/tools/bin:$PATH
来替换(不推荐)
export PATH=${PATH}:${ANDROID_HOME}/tools/bin:$PATH
sublime
选中代码整体前移:
Shift+Tab
选中代码整体后移动:
Tab