Skip to content

Instantly share code, notes, and snippets.

Revisions

  1. 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.
  2. 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:

  3. 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:

  4. 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.
  5. 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)

  6. 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
  7. 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)"
  8. 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

  9. Patrick Hammond renamed this gist May 15, 2014. 1 changed file with 0 additions and 0 deletions.
    File renamed without changes.
  10. 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:

  11. 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
  12. 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:

  13. 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
  14. 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
  15. 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
  16. 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
  17. Patrick Hammond renamed this gist May 15, 2014. 1 changed file with 0 additions and 0 deletions.
  18. Patrick Hammond revised this gist May 15, 2014. 1 changed file with 12 additions and 10 deletions.
    22 changes: 12 additions & 10 deletions Android dev tools steps and commands
    Original file line number Diff line number Diff line change
    @@ -1,10 +1,12 @@
    - 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
    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
    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
  19. Patrick Hammond renamed this gist May 15, 2014. 1 changed file with 0 additions and 0 deletions.
    File renamed without changes.
  20. Patrick Hammond renamed this gist May 15, 2014. 1 changed file with 0 additions and 0 deletions.
    File renamed without changes.
  21. Patrick Hammond created this gist May 15, 2014.
    10 changes: 10 additions & 0 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,10 @@
    - 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