You will need to do two basic things:
- Install Android Build Tools
- Make them available in your shell when running the ion launch command.
Installing build tools (version 19.1.0)
- Android open source development studio
- Go to: Settings β SDK Manager β select βAndroid SDK Build-Tools
- check the box "Show package details" (bottom right)
- look at the versions of this package, make sure that version 19.1 is selected - you can use a newer version, but 19.1.0 works.
- Click Apply to make changes / install it.
Make build tools available in your shell
Edit ~ / .bash_profile with vi or another shell editor
vi ~/.bash_profile
Add the following lines:
export ANDROID_HOME=~/Library/Android/sdk export PATH=${PATH}:~/Software/android-sdk-macosx/tools:~/Software/android-sdk-macosx/platform-tools"
(save the file and exit). When editing the file, make sure that for each input these variables will be available, but since we are already in the active session, you need to make it available for the current env shell, do the following:
. ~/.bash_profile
source share