Path Environment ~/.profile for android SDK
Posted: Fri Dec 14, 2012 10:23 am
Hi everyone
I'm trying to set my environment path in order to use the android SDK.
I've been trying to set the ~/.profile file with a lot of different possibilities + doing source ~/.profile + login in and out
all without success
my SDK is located in a directory named eclipse and that directory is located in home.
here is my file
any help would be appreciated, thanks a lot
for info I tried
:/home/eclipse/sdk/tools
:$HOME/eclipse/sdk/tools
:$HOME/home/eclipse/sdk/tools
:~/home/eclipse/sdk/tools
:~/eclipse/sdk/tools
I'm trying to set my environment path in order to use the android SDK.
I've been trying to set the ~/.profile file with a lot of different possibilities + doing source ~/.profile + login in and out
all without success
my SDK is located in a directory named eclipse and that directory is located in home.
here is my file
Code: Select all
# ~/.profile: executed by the command interpreter for login shells.
# This file is not read by bash(1), if ~/.bash_profile or ~/.bash_login
# exists.
# see /usr/share/doc/bash/examples/startup-files for examples.
# the files are located in the bash-doc package.
# the default umask is set in /etc/profile; for setting the umask
# for ssh logins, install and configure the libpam-umask package.
#umask 022
# if running bash
if [ -n "$BASH_VERSION" ]; then
# include .bashrc if it exists
if [ -f "$HOME/.bashrc" ]; then
. "$HOME/.bashrc"
fi
fi
# set PATH so it includes user's private bin if it exists
if [ -d "$HOME/bin" ] ; then
PATH="$HOME/bin:$PATH:/home/eclipse/sdk/tools:/home/eclipse/sdk/platform-tools"
fi
any help would be appreciated, thanks a lot
for info I tried
:/home/eclipse/sdk/tools
:$HOME/eclipse/sdk/tools
:$HOME/home/eclipse/sdk/tools
:~/home/eclipse/sdk/tools
:~/eclipse/sdk/tools