brew install android-sdk
the
android-sdkpackage depends on and also conflicts withandroid-platform-tools, so every time you update yourandroid-sdkyou have to reinstallandroid-platform-tools(try tobrew unlink android-platform-tools.
- run
androidto install the android packages - add
ANDROID_HOMEandANDROID_SDKto environmentPATH
# list all tasks
./gradlew tasks
# or
gradle tasks
gradle build
gradle installDebugosascriptpop 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.