ionic platform add android Error

Error: ANDROID_HOME is not set and “android” command not in your PATH. You must fulfill at least one of these conditions.

If you see this error, its means that you need to include android PATH in your bash_profile, that is located in your user folder ex. /Users/yourusername/.

Right now its hidden default. To show the hidden files. Copy and paste this in your terminal

'defaults write AppleShowAllFiles YES'

Restart your finder by

hold Ctrl + alt and press esc

Go to /Users/yourusername/ and find .bash_profile. Drag to your favorite text editor and paste this code.

export ANDROID_HOME=/Applications/Android\
export PATH=${PATH}:$ANDROID_HOME/tools:$ANDROID_HOME/platform-tools

You’ll need to restart your bash, for the changes to take effect.

source ~/.bash_profile

Now go to your project folder and add android platform

cordova platform add android

And boom! Don’t forget to hide those hidden files again

'defaults write AppleShowAllFiles NO'
• • •


It is what it is. All you need to know about angular is in this book and more.

• • •

One of the reason why I can’t sleep early

It’s because of the The Newsroom series. I like the acting of the main actor and his staff. After watching 3 episodes, I saw myself when I was working in PH in a web company, where all your colleague are smart, young, talented, creative, excited, freaking out, in trouble, stressed, have a tight deadline, problems solving, sharing ideas and more. I’ll continue watching until this weekend and more sleepless nights for me :D.

• • •

Jobs inspired me

After watching Steve Jobs movie, I was inspired. So to keep myself motivated, I took some of his quotes and pics from the net, created a different background for each quote and then set each quote as a wallpaper that changes every 30 minutes on my laptop.


You can download the wallpapers at Please note that this will only fit for screen size 13-inch and 1891 × 1193 dimensions.


• • •