-
-
Save jadark/16abcb2a31c0bc076ef35be5d22e9112 to your computer and use it in GitHub Desktop.
Export $ANDROID_HOME on MacOS with Fish shell
This file contains 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 --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