Skip to content

Instantly share code, notes, and snippets.

@xeoncross
Created July 11, 2018 19:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save xeoncross/c51f616cec4b84c94ef84578c1c39c3b to your computer and use it in GitHub Desktop.
Save xeoncross/c51f616cec4b84c94ef84578c1c39c3b to your computer and use it in GitHub Desktop.
Setup Android Studio and tooling on a Mac

Download Android Studio

Install

  • NDK
  • LLDB
  • An Emulator of your choice (Android v1-9)

Add the following lines to the end of ~/.bashrc or ~/.zshrc (if using Oh My ZSH):

export ANDROID_HOME=/Users/$USER/Library/Android/sdk
export PATH=${PATH}:$ANDROID_HOME/tools:$ANDROID_HOME/platform-tools

Restart exec bash or exec zsh

ADB (using homebrew will provide automatic updates)

  1. Install homebrew

  2. Install adb

     brew cask install android-platform-tools
    
  3. Start using adb

     adb devices
    

Mobile Phone Setup

  • Enable "developer options"
  • Enable "USB debugging"
@xeoncross
Copy link
Author

xeoncross commented Jul 11, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment