-
-
Save julioklein/614b42a7679809c61654175e0c81ded3 to your computer and use it in GitHub Desktop.
Export $ANDROID_HOME on MacOS with Fish shell
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
First : | |
$ touch ~/.config/fish/config.fish; nano ~/.config/fish/config.fish | |
Copy this in the file : | |
set --export ANDROID $HOME/Library/Android; | |
set --export ANDROID_HOME $ANDROID/sdk; | |
set -gx PATH $ANDROID_HOME/tools $PATH; | |
set -gx PATH $ANDROID_HOME/tools/bin $PATH; | |
set -gx PATH $ANDROID_HOME/platform-tools $PATH; | |
set -gx PATH $ANDROID_HOME/emulator $PATH | |
set --export JAVA_HOME /Applications/Android\ Studio.app/Contents/jre/jdk/Contents/Home; | |
set -gx PATH $JAVA_HOME/bin $PATH; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment