设置PATH Ubuntu 14.04 [英] Setting PATH ubuntu 14.04

查看:125
本文介绍了设置PATH Ubuntu 14.04的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

运行sudo ionc build android时遇到障碍.

I have obstacle when run sudo ionc build android.

错误日志终端:

在.profile中设置环境变量:

Set enviroment varibale in .profile:

请给我解决方案.如何将PATH设置为true.

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

推荐答案

系统无法在.bashrc文件中找到环境变量ANDROID_HOME.要解决此错误,您需要在~/.bashrc文件中添加以下内容:

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"

然后运行source ~/.bashrc,以便加载配置.

And ran source ~/.bashrc so that the configuration is loaded.

这篇关于设置PATH Ubuntu 14.04的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆