1.AndroidSDK Path View
(1) Androidstudio:
Menu bar Androidstudio > Preferences > Appearences&behavior > System settins > SDK location in Android SDK tab.
(2) Eclipse:
menu bar, SDK location in Eclipse > Preferences > Android tab
2. Environment variable configuration:
Android_home: The SDK root path is configured.
Path:path environment variables Add tools, Platform-tools, build-tools paths.
Landlord use is zsh, so directly in the. zshrc file configuration:
Note the configuration in path, direct reference to $android_home, convenient for different versions of the SDK switch.
#export ANDROID_HOME=/Users/uc/Library/Android/sdkexport ANDROID_HOME=/Users/uc/Library/Android/sdk4eclipseexport PATH=$PATH:$ANDROID_HOME/toolsexport PATH=$PATH:$ANDROID_HOME/platform-toolsexport PATH=$PATH:$ANDROID_HOME/build-tools
Android environment variable configuration on Mac