📅  最后修改于: 2022-03-11 14:55:41.240000             🧑  作者: Mango
Add the following lines to your $HOME/.bash_profile or $HOME/.bashrc (if you are using zsh then ~/.zprofile or ~/.zshrc) config file:
export JAVA_HOME="/Applications/Android Studio.app/Contents/jre/jdk/Contents/Home"