Skip to content

Instantly share code, notes, and snippets.

@ericaroy
Last active August 26, 2024 00:35

Revisions

  1. ericaroy revised this gist Jul 27, 2018. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion Android Home
    Original file line number Diff line number Diff line change
    @@ -5,7 +5,7 @@ nano ~/.bash_profile
    Add the below paths
    The path should be where your android installation is located
    export ANDROID_HOME=/Users/username/Library/Android/sdk
    export export PATH=${PATH}:$ANDROID_HOME/tools:$ANDROID_HOME/platform-tools
    export PATH=${PATH}:$ANDROID_HOME/tools:$ANDROID_HOME/platform-tools
    Save file and type in terminal...
    source ~/.bash_profile

  2. @eNico eNico revised this gist Apr 3, 2015. 1 changed file with 3 additions and 2 deletions.
    5 changes: 3 additions & 2 deletions Android Home
    Original file line number Diff line number Diff line change
    @@ -4,10 +4,11 @@ Open Terminal and type in..
    nano ~/.bash_profile
    Add the below paths
    The path should be where your android installation is located
    export ANDROID_HOME=/Users/iericanico/Library/Android/sdk
    export ANDROID_HOME=/Users/username/Library/Android/sdk
    export export PATH=${PATH}:$ANDROID_HOME/tools:$ANDROID_HOME/platform-tools
    Save file and type in terminal...
    source ~/.bash_profile

    Check to see if it is set: echo $ANDROID_HOME

    Also, you could run into problems with JAVA_HOME not being set..
    Find the location of java home and add to bash profile as above
  3. @eNico eNico created this gist Apr 3, 2015.
    13 changes: 13 additions & 0 deletions Android Home
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,13 @@
    Note for me to remember how to set Android Home on Mac

    Open Terminal and type in..
    nano ~/.bash_profile
    Add the below paths
    The path should be where your android installation is located
    export ANDROID_HOME=/Users/iericanico/Library/Android/sdk
    export export PATH=${PATH}:$ANDROID_HOME/tools:$ANDROID_HOME/platform-tools
    Save file and type in terminal...
    source ~/.bash_profile

    Check to see if it is set: echo $ANDROID_HOME