Skip to content

Instantly share code, notes, and snippets.

@githubutilities
Last active August 29, 2015 14:18
Show Gist options
  • Select an option

  • Save githubutilities/d9500208e014c0f112ef to your computer and use it in GitHub Desktop.

Select an option

Save githubutilities/d9500208e014c0f112ef to your computer and use it in GitHub Desktop.
Android Dev Setup

Android Dev Setup

Installing command line tools

  • brew install android-sdk

the android-sdk package depends on and also conflicts with android-platform-tools, so every time you update your android-sdk you have to reinstall android-platform-tools(try to brew unlink android-platform-tools.

  • run android to install the android packages
  • add ANDROID_HOME and ANDROID_SDK to environment PATH
# list all tasks
./gradlew tasks
# or
gradle tasks

gradle build

gradle installDebug

Reference

Messing around with android minSDK requirement

Android Studio Install log

  • osascript pop up for admin privilege.

It seems that google uses Apple Script to require admin privilege for the installation of Intel HAXM package. But this kind of popup is not user friendly even for developers because it can be any obituary apple script requiring for privilege.

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