Environment Setting (MAC OS)

  1. tool
  • I use a VPN
  • Android Development Documentation
  • Android Studio
  1. Setting environment variables
export JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk18.. 0_51.jdk/Contents/Home

export ANDROID_HOME=$HOME/Library/Android/sdk

export CLASSPATH=:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar

export GRADLE_HOME=$HOME/.gradle

export PATH=$PATH:$JAVA_HOME:$CLASSPATH:$ANDROID_HOME/tools:$ANDROID_HOME/platform-tools
Copy the code