Mac Android安卓开发环境变量配置

首先 修改.bash_profile文件.没有则创建.

//JDK的安装路径
JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk1.8.0_291.jdk/Contents/Home
CLASSPATH=$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar:.
//Android SDK的安装路径
ANDROID_HOME=/Users/guo.wenqi/Library/Android/sdk
PATH=$PATH:.:$ANDROID_HOME/platform-tools:/Users/guo.wenqi/Library/flutter/bin
export PATH
export JAVA_HOME
export CLASSPATH
export ANDROID_HOME
//代理
export https_proxy=http://192.168.xxx.xxx:xxxx
export http_proxy=http://192.168.xxx.xxx:xxxx

你可能感兴趣的:(Mac Android安卓开发环境变量配置)