Header Ads

Setting ANDROID_HOME enviromental variable on Mac OS X

Setting ANDROID_HOME enviromental variable on Mac OS X


Setting ANDROID_HOME enviromental variable on Mac OS X


If you want to debug React Native in terminal on Mac OS X, you must config path Android SDK

Config Android SDK in MAC OS X easy, Worked for me !!


In Terminal:
nano ~/.bash_profile 
Add lines:
export ANDROID_HOME=/YOUR_PATH_TO/android-sdk
export PATH=$ANDROID_HOME/platform-tools:$PATH
export PATH=$ANDROID_HOME/tools:$PATH
Check it worked:
source ~/.bash_profile
echo $ANDROID_HOME

Thank you !! Like and share fanpage :D

No comments