Missing export ANDROID_HOME on bash

when I run : ionic build android,

problem happens, because de ANDROID_HOME is wrong


so I set the correct ANDROID_HOME .

$ export ANDROID_HOME=/Users/eltonpering/Library/Android/sdk
$ source ~/.bash_profile

its work.

But, when I close and open a new bash terminal, the problem happens again.

$ sudo -V
Sudo version 1.8.17p1
Sudoers policy plugin version 1.8.17p1
Sudoers file grammar version 45
Sudoers I/O plugin version 1.8.17p1