Linux Mint something wrong with my .bashrc

Posted by user2309862 on Super User See other posts from Super User or by user2309862
Published on 2013-10-27T14:02:44Z Indexed on 2013/10/27 15:55 UTC
Read the original article Hit count: 518

Filed under:
|
|
|
|

The path of my .basrc file is

/home/vamsi/.bashrc

It is weird that my file has nothing but the path I set. I think I am using a file at the wrong location or that I have lost my .bashrc file as none of the environment variables set here seem to work.

#ANDROID_DEV
ANDROID_HOME=/opt/android-sdk-linux
export ANDROID_HOME
PATH= $PATH:$ANDROID_SDK_HOME/tools
export PATH
PATH=$PATH:$ANDROID_HOME/platform-tools
export PATH
PATH=$PATH:$ANDROID_HOME/build-tools
export PATH

#MAVEN-PATH
M2_HOME=/opt/apache-maven-3.1.0
export M2_HOME
M2=$PATH:$M2_HOME/bin
export M2

I was prompted to install maven2 in order to use mvn, but the android command cannot be found. Could you please help me find a solution to this issue.

EDIT:

Meanwhile,I tried this:

export PATH=${PATH}:/opt/android-sdk-linux/platform-tools
export PATH=${PATH}:/opt/android-sdk-linux/tools

Now,the output of $PATH echoes:

bash: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/opt/android-sdk-linux/platform-tools:/opt/android-sdk-linux/build-tools: No such file or directory

© Super User or respective owner

Related posts about linux

Related posts about bash