MAC配置环境变量

export ANDROID_HOME=/Users/jeff.xie/Downloads/sdk

export MAVEN_HOME=/Users/jeff.xie/Documents/apache-maven-3.8.4

# export JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk1.8.0_311.jdk/Contents/Home

export JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk-11.0.2.jdk/Contents/Home

export PATH=${PATH}:$ANDROID_HOME/tools:$ANDROID_HOME/platform-tools:$ANDROID_HOME/emulator:$JAVA_HOME/bin:$MAVEN_HOME/bin

export ANDROID_HOME=/Users/jeff.xie/Downloads/sdk

export PATH=${PATH}:${ANDROID_HOME}/platform-tools

export PATH=${PATH}:${ANDROID_HOME}/build-tools

export PATH=${PATH}:${ANDROID_HOME}/tools

export PATH=${PATH}:/Users/jeff.xie/Documents/allure-2.17.2/bin

export PATH=${PATH}:/usr/local/lib/node_modules

export PATH=${PATH}:/usr/local/lib/node_modules/appium

export PATH=${PATH}:/usr/local/lib/node_modules/appium/bin

# Add RVM to PATH for scripting. Make sure this is the last PATH variable change.

export PATH="$PATH:$HOME/.rvm/bin"

PATH="/Library/Frameworks/Python.framework/Versions/3.10/bin:${PATH}"

export PATH

alias python="/Library/Frameworks/Python.framework/Versions/3.10/bin/python3.10"

你可能感兴趣的:(Appium自动化,macos,java,自动化)