Setting PATH ubuntu 14.04

人盡茶涼 提交于 2019-12-11 23:06:55

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!