问题
I have obstacle when run sudo ionc build android.
Error log terminal:

Set enviroment varibale in .profile:

Please give me solutions. How to setting PATH that true.
回答1:
The system is not able to find the environment variable ANDROID_HOME
in your .bashrc file. To resolve this error, you need to add the following to line to your ~/.bashrc
file:
export ANDROID_HOME="<path/to/your/sdk/without/quotes>"
For me, I added the following
export ANDROID_HOME="/Users/chi6rag/Library/Android/sdk"
And ran source ~/.bashrc
so that the configuration is loaded.
来源:https://stackoverflow.com/questions/34604271/setting-path-ubuntu-14-04