I was almost done when an problem occured. I executed “ionic platform add android” and it told me “ANDROID_HOME is not set and ‘android’ command not in your PATH. You must fulfill at least one of these conditions.” How should I solve this problem? By the way, I’m operating on Linux.
in ionic docs its say :
If you are running a 64-bit version of Ubuntu, you’ll need to install
the 32-bit libraries since Android is only 32-bit at the moment.
$ sudo apt-get install ia32-libs
If you are on Ubuntu 13.04 or greater,
ia32-libshas been removed. You can use the following packages instead:
$ sudo apt-get install lib32z1 lib32ncurses5 lib32bz2-1.0
and then you need to add to the bash file instruction you can find in this link:
and then add to the bash file: