Widana Nur Azis
Widana Nur Azis

Reputation: 13

Setting PATH ubuntu 14.04

I have obstacle when run sudo ionc build android.

Error log terminal:

enter image description here

Set enviroment varibale in .profile:

enter image description here

Please give me solutions. How to setting PATH that true.

Upvotes: 0

Views: 97

Answers (1)

Chirag
Chirag

Reputation: 967

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.

Upvotes: 1

Related Questions