android flutter mac 开发环境变量配置
作者:
addapp | 来源:发表于
2020-06-10 15:01 被阅读0次
创建一个.bash_profile
复制粘贴下面的 , 路径修改成自己的
使用source ./.bash_profile使刚刚修改的文件生效
如果用的是zsh 在zsh 对应的文件里加上source ./.bash_profile
JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk1.8.0_231.jdk/Contents/Home
PATH=$JAVA_HOME/bin:$PATH:.
CLASSPATH=$JAVA_HOME/lib/tools.jar:$JAVA_HOME/lib/dt.jar:.
export JAVA_HOME
export PATH
export CLASSPATH
export ANDROID_HOME=/Users/matt/Library/Android/sdk
export PATH=${PATH}:${ANDROID_HOME}/tools
export PATH=${PATH}:${ANDROID_HOME}/platform-tools
export PUB_HOSTED_URL=https://pub.flutter-io.cn
export FLUTTER_STORAGE_BASE_URL=https://storage.flutter-io.cn
export PATH=/Users/matt/Library/flutter/flutter/bin:$PATH
本文标题:android flutter mac 开发环境变量配置
本文链接:https://www.haomeiwen.com/subject/zicptktx.html
网友评论