Skip to content

Instantly share code, notes, and snippets.

  • Select an option

Select an option

Revisions

  1. emanueleDiVizio revised this gist Jul 9, 2018. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion android_instructions_23.md
    Original file line number Diff line number Diff line change
    @@ -8,7 +8,7 @@ Prerequisites (for Homebrew at a minimum, lots of other tools need these too):

    Install Homebrew:

    ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)"
    `/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"`

    Make sure the doctor is happy (do what it tells you):

  2. @agrcrobles agrcrobles revised this gist Feb 26, 2018. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion android_instructions_23.md
    Original file line number Diff line number Diff line change
    @@ -37,7 +37,7 @@ Install HAXM for blazing fast emulators. Check out the "Configuring VM Accelera

    *Edit:* You can download the dmg and install manually from Intel's site

    Update your environment variables:
    Finally update your environment variables:

    export ANT_HOME=/usr/local/opt/ant
    export MAVEN_HOME=/usr/local/opt/maven
  3. @agrcrobles agrcrobles revised this gist Feb 22, 2018. 1 changed file with 3 additions and 1 deletion.
    4 changes: 3 additions & 1 deletion android_instructions_23.md
    Original file line number Diff line number Diff line change
    @@ -33,7 +33,9 @@ Install all of the Android SDK components (you will be prompted to agree to lice

    Install HAXM for blazing fast emulators. Check out the "Configuring VM Acceleration on Mac" section here: http://developer.android.com/tools/devices/emulator.html

    brew cask install intel-haxm
    brew cask install intel-haxm // this might not work on high sierra.

    *Edit:* You can download the dmg and install manually from Intel's site

    Update your environment variables:

  4. @agrcrobles agrcrobles revised this gist Jan 5, 2018. No changes.
  5. @agrcrobles agrcrobles revised this gist Jan 5, 2018. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion android_instructions_23.md
    Original file line number Diff line number Diff line change
    @@ -53,5 +53,5 @@ Update your paths (bonus points to a better solution to the hardcoded build tool
    export PATH=$ANDROID_HOME/platform-tools:$PATH
    export PATH=$ANDROID_HOME/build-tools/23.0.1:$PATH

    Optional: You will have to add the ANDROID_HOME to profile (.zshrc or .bashrc)
    Optional: You will have to add the ANDROID_HOME to the profile configuration settings either on .zshrc, .bashrc or .bash_profile ( suggested )

  6. @agrcrobles agrcrobles revised this gist Dec 27, 2017. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion android_instructions_23.md
    Original file line number Diff line number Diff line change
    @@ -29,7 +29,7 @@ Use Homebrew to install Android dev tools:
    Install all of the Android SDK components (you will be prompted to agree to license info and then this will take a while to run):

    sdkmanager "platform-tools" "platforms;android-23"
    sdkmanager --install "build-tools;23.0.1"
    sdkmanager "build-tools;23.0.1"

    Install HAXM for blazing fast emulators. Check out the "Configuring VM Acceleration on Mac" section here: http://developer.android.com/tools/devices/emulator.html

  7. @agrcrobles agrcrobles renamed this gist Nov 28, 2017. 1 changed file with 8 additions and 12 deletions.
    20 changes: 8 additions & 12 deletions android_instructions.md → android_instructions_23.md
    Original file line number Diff line number Diff line change
    @@ -5,6 +5,7 @@ Prerequisites (for Homebrew at a minimum, lots of other tools need these too):
    - XCode command line tools are installed (`xcode-select --install` will prompt up a dialog)
    - Java


    Install Homebrew:

    ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)"
    @@ -14,6 +15,8 @@ Make sure the doctor is happy (do what it tells you):
    brew doctor
    brew tap caskroom/cask

    Install Python 3:
    brew install python3

    Use Homebrew to install Android dev tools:

    @@ -26,6 +29,7 @@ Use Homebrew to install Android dev tools:
    Install all of the Android SDK components (you will be prompted to agree to license info and then this will take a while to run):

    sdkmanager "platform-tools" "platforms;android-23"
    sdkmanager --install "build-tools;23.0.1"

    Install HAXM for blazing fast emulators. Check out the "Configuring VM Acceleration on Mac" section here: http://developer.android.com/tools/devices/emulator.html

    @@ -36,8 +40,8 @@ Update your environment variables:
    export ANT_HOME=/usr/local/opt/ant
    export MAVEN_HOME=/usr/local/opt/maven
    export GRADLE_HOME=/usr/local/opt/gradle
    export ANDROID_HOME=/usr/local/Caskroom/android-sdk
    export ANDROID_NDK_HOME=/usr/local/Caskroom/android-ndk
    export ANDROID_HOME=/usr/local/share/android-sdk
    export ANDROID_NDK_HOME=/usr/local/share/android-ndk
    export INTEL_HAXM_HOME=/usr/local/Caskroom/intel-haxm

    Update your paths (bonus points to a better solution to the hardcoded build tools version):
    @@ -47,15 +51,7 @@ Update your paths (bonus points to a better solution to the hardcoded build tool
    export PATH=$GRADLE_HOME/bin:$PATH
    export PATH=$ANDROID_HOME/tools:$PATH
    export PATH=$ANDROID_HOME/platform-tools:$PATH
    export PATH=$ANDROID_HOME/build-tools/19.1.0:$PATH

    Periodically run these commands again to ensure you're staying up to date:

    brew update
    android update sdk --no-ui
    export PATH=$ANDROID_HOME/build-tools/23.0.1:$PATH

    * Note: It looks like there might be an issue with `brew update` and the android-sdk formula.

    Install Eclipse, IntelliJ, Android Studio, or your other favorite IDE.
    Optional: You will have to add the ANDROID_HOME to profile (.zshrc or .bashrc)

    If everything goes smoothly on a moderate network connection you can expect this process to take 2-4 hours.
  8. @agrcrobles agrcrobles revised this gist Nov 28, 2017. 1 changed file with 2 additions and 0 deletions.
    2 changes: 2 additions & 0 deletions android_instructions.md
    Original file line number Diff line number Diff line change
    @@ -12,6 +12,8 @@ Install Homebrew:
    Make sure the doctor is happy (do what it tells you):

    brew doctor
    brew tap caskroom/cask


    Use Homebrew to install Android dev tools:

  9. @agrcrobles agrcrobles revised this gist Nov 28, 2017. 1 changed file with 3 additions and 2 deletions.
    5 changes: 3 additions & 2 deletions android_instructions.md
    Original file line number Diff line number Diff line change
    @@ -34,8 +34,9 @@ Update your environment variables:
    export ANT_HOME=/usr/local/opt/ant
    export MAVEN_HOME=/usr/local/opt/maven
    export GRADLE_HOME=/usr/local/opt/gradle
    export ANDROID_HOME=/usr/local/opt/android-sdk
    export ANDROID_NDK_HOME=/usr/local/opt/android-ndk
    export ANDROID_HOME=/usr/local/Caskroom/android-sdk
    export ANDROID_NDK_HOME=/usr/local/Caskroom/android-ndk
    export INTEL_HAXM_HOME=/usr/local/Caskroom/intel-haxm

    Update your paths (bonus points to a better solution to the hardcoded build tools version):

  10. @agrcrobles agrcrobles revised this gist Nov 28, 2017. 1 changed file with 2 additions and 0 deletions.
    2 changes: 2 additions & 0 deletions android_instructions.md
    Original file line number Diff line number Diff line change
    @@ -27,6 +27,8 @@ Install all of the Android SDK components (you will be prompted to agree to lice

    Install HAXM for blazing fast emulators. Check out the "Configuring VM Acceleration on Mac" section here: http://developer.android.com/tools/devices/emulator.html

    brew cask install intel-haxm

    Update your environment variables:

    export ANT_HOME=/usr/local/opt/ant
  11. @agrcrobles agrcrobles revised this gist Nov 28, 2017. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion android_instructions.md
    Original file line number Diff line number Diff line change
    @@ -23,7 +23,7 @@ Use Homebrew to install Android dev tools:

    Install all of the Android SDK components (you will be prompted to agree to license info and then this will take a while to run):

    android update sdk --no-ui
    sdkmanager "platform-tools" "platforms;android-23"

    Install HAXM for blazing fast emulators. Check out the "Configuring VM Acceleration on Mac" section here: http://developer.android.com/tools/devices/emulator.html

  12. @agrcrobles agrcrobles revised this gist Nov 28, 2017. 1 changed file with 2 additions and 2 deletions.
    4 changes: 2 additions & 2 deletions android_instructions.md
    Original file line number Diff line number Diff line change
    @@ -18,8 +18,8 @@ Use Homebrew to install Android dev tools:
    brew install ant
    brew install maven
    brew install gradle
    brew cast install android-sdk
    brew install android-ndk
    brew cask install android-sdk
    brew cask install android-ndk

    Install all of the Android SDK components (you will be prompted to agree to license info and then this will take a while to run):

  13. @agrcrobles agrcrobles revised this gist Nov 28, 2017. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion android_instructions.md
    Original file line number Diff line number Diff line change
    @@ -18,7 +18,7 @@ Use Homebrew to install Android dev tools:
    brew install ant
    brew install maven
    brew install gradle
    brew install android-sdk
    brew cast install android-sdk
    brew install android-ndk

    Install all of the Android SDK components (you will be prompted to agree to license info and then this will take a while to run):
  14. Patrick Hammond revised this gist Jun 23, 2014. 1 changed file with 6 additions and 2 deletions.
    8 changes: 6 additions & 2 deletions android_instructions.md
    Original file line number Diff line number Diff line change
    @@ -42,11 +42,15 @@ Update your paths (bonus points to a better solution to the hardcoded build tool
    export PATH=$GRADLE_HOME/bin:$PATH
    export PATH=$ANDROID_HOME/tools:$PATH
    export PATH=$ANDROID_HOME/platform-tools:$PATH
    export PATH=$ANDROID_HOME/build-tools/19.0.3:$PATH
    export PATH=$ANDROID_HOME/build-tools/19.1.0:$PATH

    Periodically run these commands again to ensure you're staying up to date:

    brew update
    android update sdk --no-ui

    * Note: It looks like there might be an issue with `brew update` and the android-sdk formula.
    * Note: It looks like there might be an issue with `brew update` and the android-sdk formula.

    Install Eclipse, IntelliJ, Android Studio, or your other favorite IDE.

    If everything goes smoothly on a moderate network connection you can expect this process to take 2-4 hours.
  15. Patrick Hammond revised this gist May 15, 2014. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion android_instructions.md
    Original file line number Diff line number Diff line change
    @@ -3,7 +3,7 @@ Here is a high level overview for what you need to do to get most of an Android
    Prerequisites (for Homebrew at a minimum, lots of other tools need these too):
    - XCode is installed (via the App Store)
    - XCode command line tools are installed (`xcode-select --install` will prompt up a dialog)
    - Java (either via http://www.java.com/en/download/manual.jsp or via Apple)
    - Java

    Install Homebrew:

  16. Patrick Hammond revised this gist May 15, 2014. 1 changed file with 1 addition and 0 deletions.
    1 change: 1 addition & 0 deletions android_instructions.md
    Original file line number Diff line number Diff line change
    @@ -3,6 +3,7 @@ Here is a high level overview for what you need to do to get most of an Android
    Prerequisites (for Homebrew at a minimum, lots of other tools need these too):
    - XCode is installed (via the App Store)
    - XCode command line tools are installed (`xcode-select --install` will prompt up a dialog)
    - Java (either via http://www.java.com/en/download/manual.jsp or via Apple)

    Install Homebrew:

  17. Patrick Hammond revised this gist May 15, 2014. 1 changed file with 3 additions and 1 deletion.
    4 changes: 3 additions & 1 deletion android_instructions.md
    Original file line number Diff line number Diff line change
    @@ -46,4 +46,6 @@ Update your paths (bonus points to a better solution to the hardcoded build tool
    Periodically run these commands again to ensure you're staying up to date:

    brew update
    android update sdk --no-ui
    android update sdk --no-ui

    * Note: It looks like there might be an issue with `brew update` and the android-sdk formula.
  18. Patrick Hammond revised this gist May 15, 2014. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion android_instructions.md
    Original file line number Diff line number Diff line change
    @@ -1,6 +1,6 @@
    Here is a high level overview for what you need to do to get most of an Android environment setup and maintained.

    Prerequisites (for Homebrew):
    Prerequisites (for Homebrew at a minimum, lots of other tools need these too):
    - XCode is installed (via the App Store)
    - XCode command line tools are installed (`xcode-select --install` will prompt up a dialog)

  19. Patrick Hammond revised this gist May 15, 2014. 1 changed file with 4 additions and 0 deletions.
    4 changes: 4 additions & 0 deletions android_instructions.md
    Original file line number Diff line number Diff line change
    @@ -8,6 +8,10 @@ Install Homebrew:

    ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)"

    Make sure the doctor is happy (do what it tells you):

    brew doctor

    Use Homebrew to install Android dev tools:

    brew install ant
  20. Patrick Hammond revised this gist May 15, 2014. 1 changed file with 4 additions and 0 deletions.
    4 changes: 4 additions & 0 deletions android_instructions.md
    Original file line number Diff line number Diff line change
    @@ -1,5 +1,9 @@
    Here is a high level overview for what you need to do to get most of an Android environment setup and maintained.

    Prerequisites (for Homebrew):
    - XCode is installed (via the App Store)
    - XCode command line tools are installed (`xcode-select --install` will prompt up a dialog)

    Install Homebrew:

    ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)"
  21. Patrick Hammond revised this gist May 15, 2014. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion android_instructions.md
    Original file line number Diff line number Diff line change
    @@ -12,7 +12,7 @@ Use Homebrew to install Android dev tools:
    brew install android-sdk
    brew install android-ndk

    Install all of the Android SDK components (you will be prompted to agree to license info):
    Install all of the Android SDK components (you will be prompted to agree to license info and then this will take a while to run):

    android update sdk --no-ui

  22. Patrick Hammond renamed this gist May 15, 2014. 1 changed file with 0 additions and 0 deletions.
    File renamed without changes.
  23. Patrick Hammond revised this gist May 15, 2014. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion instructions.md
    Original file line number Diff line number Diff line change
    @@ -16,7 +16,7 @@ Install all of the Android SDK components (you will be prompted to agree to lice

    android update sdk --no-ui

    Install HAXM for blazing fast emulators (http://developer.android.com/tools/devices/emulator.html, "http://developer.android.com/tools/devices/emulator.html")
    Install HAXM for blazing fast emulators. Check out the "Configuring VM Acceleration on Mac" section here: http://developer.android.com/tools/devices/emulator.html

    Update your environment variables:

  24. Patrick Hammond revised this gist May 15, 2014. 1 changed file with 5 additions and 3 deletions.
    8 changes: 5 additions & 3 deletions instructions.md
    Original file line number Diff line number Diff line change
    @@ -1,4 +1,4 @@
    Steps you can follow to quickly setup a new Android environemnt.
    Here is a high level overview for what you need to do to get most of an Android environment setup and maintained.

    Install Homebrew:

    @@ -26,7 +26,7 @@ Update your environment variables:
    export ANDROID_HOME=/usr/local/opt/android-sdk
    export ANDROID_NDK_HOME=/usr/local/opt/android-ndk

    Update your paths (bonus points to a better solution to the build tools hardcoded version):
    Update your paths (bonus points to a better solution to the hardcoded build tools version):

    export PATH=$ANT_HOME/bin:$PATH
    export PATH=$MAVEN_HOME/bin:$PATH
    @@ -36,4 +36,6 @@ Update your paths (bonus points to a better solution to the build tools hardcode
    export PATH=$ANDROID_HOME/build-tools/19.0.3:$PATH

    Periodically run these commands again to ensure you're staying up to date:


    brew update
    android update sdk --no-ui
  25. Patrick Hammond revised this gist May 15, 2014. 1 changed file with 33 additions and 10 deletions.
    43 changes: 33 additions & 10 deletions instructions.md
    Original file line number Diff line number Diff line change
    @@ -4,13 +4,36 @@ Install Homebrew:

    ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)"

    brew install maven
    brew install gradle
    brew install ant
    brew install android-sdk
    brew install android-platform-tools
    brew install android-ndk

    android update sdk --no-ui
    Setup HAXM
    export ANDROID_HOME=/usr/local/opt/android-sdk
    Use Homebrew to install Android dev tools:

    brew install ant
    brew install maven
    brew install gradle
    brew install android-sdk
    brew install android-ndk

    Install all of the Android SDK components (you will be prompted to agree to license info):

    android update sdk --no-ui

    Install HAXM for blazing fast emulators (http://developer.android.com/tools/devices/emulator.html, "http://developer.android.com/tools/devices/emulator.html")

    Update your environment variables:

    export ANT_HOME=/usr/local/opt/ant
    export MAVEN_HOME=/usr/local/opt/maven
    export GRADLE_HOME=/usr/local/opt/gradle
    export ANDROID_HOME=/usr/local/opt/android-sdk
    export ANDROID_NDK_HOME=/usr/local/opt/android-ndk

    Update your paths (bonus points to a better solution to the build tools hardcoded version):

    export PATH=$ANT_HOME/bin:$PATH
    export PATH=$MAVEN_HOME/bin:$PATH
    export PATH=$GRADLE_HOME/bin:$PATH
    export PATH=$ANDROID_HOME/tools:$PATH
    export PATH=$ANDROID_HOME/platform-tools:$PATH
    export PATH=$ANDROID_HOME/build-tools/19.0.3:$PATH

    Periodically run these commands again to ensure you're staying up to date:

  26. Patrick Hammond revised this gist May 15, 2014. 1 changed file with 11 additions and 10 deletions.
    21 changes: 11 additions & 10 deletions instructions.md
    Original file line number Diff line number Diff line change
    @@ -1,15 +1,16 @@
    Steps you can follow to quickly setup a new Android environemnt.

    1. Install Homebrew:
    Install Homebrew:

    ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)"

    1. brew install maven
    1. brew install gradle
    1. brew install ant
    1. brew install android-sdk
    1. brew install android-platform-tools
    1. brew install android-ndk
    1. android update sdk --no-ui
    1. Setup HAXM
    1. export ANDROID_HOME=/usr/local/opt/android-sdk
    brew install maven
    brew install gradle
    brew install ant
    brew install android-sdk
    brew install android-platform-tools
    brew install android-ndk

    android update sdk --no-ui
    Setup HAXM
    export ANDROID_HOME=/usr/local/opt/android-sdk
  27. Patrick Hammond revised this gist May 15, 2014. 1 changed file with 2 additions and 1 deletion.
    3 changes: 2 additions & 1 deletion instructions.md
    Original file line number Diff line number Diff line change
    @@ -1,6 +1,7 @@
    Steps you can follow to quickly setup a new Android environemnt.

    1. Install Homebrew:
    1. Install Homebrew:

    ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)"

    1. brew install maven
  28. Patrick Hammond revised this gist May 15, 2014. 1 changed file with 1 addition and 0 deletions.
    1 change: 1 addition & 0 deletions instructions.md
    Original file line number Diff line number Diff line change
    @@ -2,6 +2,7 @@ Steps you can follow to quickly setup a new Android environemnt.

    1. Install Homebrew:
    ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)"

    1. brew install maven
    1. brew install gradle
    1. brew install ant
  29. Patrick Hammond revised this gist May 15, 2014. 1 changed file with 2 additions and 1 deletion.
    3 changes: 2 additions & 1 deletion instructions.md
    Original file line number Diff line number Diff line change
    @@ -1,6 +1,7 @@
    Steps you can follow to quickly setup a new Android environemnt.

    1. Install Homebrew: ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)"
    1. Install Homebrew:
    ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)"
    1. brew install maven
    1. brew install gradle
    1. brew install ant
  30. Patrick Hammond renamed this gist May 15, 2014. 1 changed file with 0 additions and 0 deletions.