小编Naj*_*leh的帖子

echo $ANDROID_HOME 在 Mac 中返回空白

我在 .bash_profile 中设置 ANDROID_HOME 并运行 source ~/.bash profile 但在关闭并打开终端后然后运行 ​​echo $ANDROID_HOME return blank

.bash_profile

source ~/.bash_profile
export PATH="/usr/local/opt/openssl/bin:$PATH"
export JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk1.8.0_191.jdk/Contents/Home
export PATH=$JAVA_HOME/bin:$PATH
export ANDROID_HOME=/Users/Najibah/Library/Android/sdk
export PATH=$PATH:$ANDROID_HOME/tools:$ANDROID_HOME/platfrom-tools
Run Code Online (Sandbox Code Playgroud)

这发生在我运行 echo $ANDROID_HOME 时

macos bash android

2
推荐指数
1
解决办法
1926
查看次数

标签 统计

android ×1

bash ×1

macos ×1