renansigolo
2/22/2018 - 1:54 PM

environments.md

Install Java SDK

Install Android Studio

Opens with TextEdit

open -a TextEdit ~/.bash_profile

Install Graddle

brew install gradle

Set Java SDK Env

Check Env

echo $JAVA_HOME

set the Env

export JAVA_HOME=$(/usr/libexec/java_home)

Set Android SDK Env

Check Env

echo $ANDROID_HOME

Set Env

export ANDROID_HOME=~/Library/Android/sdk

Set Gradle Env

echo $GRADLE_HOME

export GRADLE_HOME=/usr/local/Cellar/gradle/4.8.1/bin

Apply Changes

source ~/.bash_profile

export PATH=$PATH:/usr/local/git/bin:/usr/local/bin

Opens with TextEdit

open -a TextEdit ~/.bash_profile

Ref

https://ionicframework.com/docs/developer-resources/platform-setup/mac-setup.html