Results 1 to 6 of 6
hi friends,
I am using ubuntu 8.10..In that i tried one command. But it says the following error..
Code:
bash: emulator: command not found
This command is used in android ...
- 10-19-2009 #1Linux User
- Join Date
- Aug 2008
- Location
- Trichy,India
- Posts
- 308
setting the command path
hi friends,
I am using ubuntu 8.10..In that i tried one command. But it says the following error..
This command is used in android development.Code:bash: emulator: command not found
i think i have to set the path. But i dont know how to set the path. This is the list of /bin
can anyone help me how to set this command in this path?Code:sharief@sharief-desktop:/bin$ ls bash dnsdomainname mountpoint sleep bunzip2 dumpkeys mt stty bzcat echo mt-gnu su bzcmp ed mv sync bzdiff egrep nano tailf bzegrep false nc tar bzexe fgconsole nc.traditional tempfile bzfgrep fgrep netcat touch bzgrep fuser netstat true bzip2 fusermount ntfs-3g ulockmgr_server bzip2recover grep ntfs-3g.probe umount bzless gunzip open uname bzmore gzexe openvt uncompress cat gzip pidof unicode_start chgrp hostname ping vdir chmod ip ping6 which chown kbd_mode ps zcat chvt kill pwd zcmp cp ld_static rbash zdiff cpio ln readlink zegrep dash loadkeys rm zfgrep date login rmdir zforce dbus-cleanup-sockets ls rnano zgrep dbus-daemon lsmod run-parts zless dbus-uuidgen mkdir sed zmore dd mknod setfont znew df mktemp setupcon dir more sh dmesg mount sh.distrib sharief@sharief-desktop:/bin$
Thanks in advance...
- 10-19-2009 #2Just Joined!
- Join Date
- Sep 2009
- Posts
- 24
you can execute the command by typing the path with the command if you know where it is,
to add a directory to the path do
"PATH=$PATH:/directory/subdirectory/"
- 10-19-2009 #3Linux User
- Join Date
- Aug 2008
- Location
- Trichy,India
- Posts
- 308
yes i tried this
but still i am getting the same error message..Code:export PATH=$PATH:/home/sharief/Desktop/SDK/android-sdk-linux_x86-1.5_r3/tools/emulator
Thanks in advance...
- 10-19-2009 #4to verify that you set the path to what you intended, and checkCode:
echo $PATH
the directory to be sure the command you want to run is actually
there.
to see if it is executableCode:ls -l
- 10-20-2009 #5Linux User
- Join Date
- Aug 2008
- Location
- Trichy,India
- Posts
- 308
Now its works fine. Thank you
Thanks in advance...
- 10-20-2009 #6Linux User
- Join Date
- Aug 2008
- Location
- Trichy,India
- Posts
- 308
oh...Again i am having thus problem for other command..
i think this is correct to set the apth. But i dont know wht its not workingCode:sharief@sharief-desktop:~/Desktop/SDK/android-sdk-linux_x86-1.5_r3/tools$ export PATH=$PATH:/home/sharief/Desktop/SDK/android-sdk-linux_x86-1.5_r3/tools/android
oh...Again i am having thus problem for other command..
Code:bash: android: command not found
Thanks in advance...


Reply With Quote