you're running on unix, so you have to always start with ./ ex: ./android ....
On Tue, Oct 20, 2009 at 7:26 PM, Niamathullah sharief <[email protected]>wrote: > yes i already tried this. in that i am the same error as "command not > found". i have set the path for "android". see below > > *shar...@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 > > shar...@sharief-desktop:~/Desktop/SDK/android-sdk-linux_x86-1.5_r3/tools$ > android create avd --target 2 --name my_avdbash: android: command not found > shar...@sharief-desktop:~/Desktop/SDK/android-sdk-linux_x86-1.5_r3/tools$ > * > > > On Tue, Oct 20, 2009 at 4:12 PM, Chaiyasit T <[email protected]>wrote: > >> Hi >> Let's follow this guideline >> http://developer.android.com/guide/tutorials/hello-world.html >> >> >> On Tue, Oct 20, 2009 at 1:54 PM, Niamathullah sharief < >> [email protected]> wrote: >> >>> yes i have done this. but i am confused in the fields of "properties" i >>> dont know exactly what i have to give in that fields....but i reached that >>> "new android project" windoow... >>> >>> On Tue, Oct 20, 2009 at 8:31 AM, Chaiyasit T <[email protected]>wrote: >>> >>>> Hi >>>> Let's go to the file menu and other and select android project. >>>> >>>> note: here is my website, if you need to run emulator directly without >>>> depedning eclipse, try here >>>> http://www.codemobiles.com/forum/viewtopic.php?t=15 >>>> regards + thanks >>>> >>>> On Tue, Oct 20, 2009 at 9:55 AM, Niamathullah sharief < >>>> [email protected]> wrote: >>>> >>>>> >>>>> yes i already done this and created the new avd.. >>>>> after that only i am confused.... >>>>> >>>>> >>>>> On Tue, Oct 20, 2009 at 8:16 AM, Chaiyasit T <[email protected]>wrote: >>>>> >>>>>> Let's get to the eclipse' preference and open android tree tab, you >>>>>> will the android sdk installation path setup, let's fill-in the path. >>>>>> you have to create a new avd too, have you created it yet? >>>>>> >>>>>> regards + thanks >>>>>> >>>>>> On Tue, Oct 20, 2009 at 9:41 AM, Niamathullah sharief < >>>>>> [email protected]> wrote: >>>>>> >>>>>>> yes i already followed this all steps in new project wizard which has >>>>>>> 4 steps. After that only i dont know what to do. >>>>>>> >>>>>>> On Tue, Oct 20, 2009 at 7:52 AM, Jeffrey Blattman < >>>>>>> [email protected]> wrote: >>>>>>> >>>>>>>> http://developer.android.com/guide/developing/eclipse-adt.html >>>>>>>> >>>>>>>> On 10/19/09 7:20 PM, Niamathullah sharief wrote: >>>>>>>> >>>>>>>> Please Can one help me to get start in eclipse. I already installed >>>>>>>> adt plugin in aclipse. after that what ahouls i do? Please help me to >>>>>>>> solve >>>>>>>> this problem. >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> On Mon, Oct 19, 2009 at 11:58 PM, Niamathullah sharief < >>>>>>>> [email protected]> wrote: >>>>>>>> >>>>>>>>> ok. shall i know how to bring this emulator in eclipse? Can anyone >>>>>>>>> help me... >>>>>>>>> >>>>>>>>> On Mon, Oct 19, 2009 at 11:57 PM, Niamathullah sharief < >>>>>>>>> [email protected]> wrote: >>>>>>>>> >>>>>>>>>> yes thank you chaiyasit. Its working fine now.. >>>>>>>>>> Thank you >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> On Mon, Oct 19, 2009 at 2:43 PM, Chaiyasit T < >>>>>>>>>> [email protected]> wrote: >>>>>>>>>> >>>>>>>>>>> could you show the path you typed this command in to me? >>>>>>>>>>> >>>>>>>>>>> just pwd >>>>>>>>>>> >>>>>>>>>>> ex: >>>>>>>>>>> Last login: Mon Oct 19 20:48:07 on ttys000 >>>>>>>>>>> MacBook-2:~ admin$ pwd >>>>>>>>>>> /Users/admin >>>>>>>>>>> MacBook-2:~ admin$ cd /app/android-sdk-mac_x86-1.5_r3/tools >>>>>>>>>>> MacBook-2:tools admin$ pwd >>>>>>>>>>> /app/android-sdk-mac_x86-1.5_r3/tools >>>>>>>>>>> MacBook-2:tools admin$ ./emulator -avd myandroid1.5 >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> regards + thanks >>>>>>>>>>> >>>>>>>>>>> On Mon, Oct 19, 2009 at 4:09 PM, Niamathullah sharief < >>>>>>>>>>> [email protected]> wrote: >>>>>>>>>>> >>>>>>>>>>>> See this. Still i am getting the same error message even when i >>>>>>>>>>>> changed as ./emulator >>>>>>>>>>>> >>>>>>>>>>>> * >>>>>>>>>>>> shar...@sharief-desktop:~/Desktop/SDK/android-sdk-linux_x86-1.5_r3$<shar...@sharief-desktop:%7E/Desktop/SDK/android-sdk-linux_x86-1.5_r3$>export >>>>>>>>>>>> PATH=${PATH}:/home/sharief/Desktop/SDK/android-sdk-linux_x86-1.5_r3/tools/./emulator >>>>>>>>>>>> >>>>>>>>>>>> shar...@sharief-desktop:~/Desktop/SDK/android-sdk-linux_x86-1.5_r3$<shar...@sharief-desktop:%7E/Desktop/SDK/android-sdk-linux_x86-1.5_r3$>./emulator >>>>>>>>>>>> -avd sharief >>>>>>>>>>>> bash: ./emulator: No such file or directory >>>>>>>>>>>> >>>>>>>>>>>> shar...@sharief-desktop:~/Desktop/SDK/android-sdk-linux_x86-1.5_r3$<shar...@sharief-desktop:%7E/Desktop/SDK/android-sdk-linux_x86-1.5_r3$> >>>>>>>>>>>> * >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> On Mon, Oct 19, 2009 at 1:58 PM, Chaiyasit T < >>>>>>>>>>>> [email protected]> wrote: >>>>>>>>>>>> >>>>>>>>>>>>> you typed the wrong command >>>>>>>>>>>>> >>>>>>>>>>>>> let's change *emulaltor --> ./emulator* >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> On Mon, Oct 19, 2009 at 3:20 PM, Niamathullah sharief < >>>>>>>>>>>>> [email protected]> wrote: >>>>>>>>>>>>> >>>>>>>>>>>>>> oops...me too didnt see that. yes i already changed the >>>>>>>>>>>>>> directory. for your kind reference i will the exact path of my >>>>>>>>>>>>>> emulator >>>>>>>>>>>>>> >>>>>>>>>>>>>> * >>>>>>>>>>>>>> /home/sharief/Desktop/SDK/android-sdk-linux_x86-1.5_r3/path/* >>>>>>>>>>>>>> >>>>>>>>>>>>>> i used the following command to set the path >>>>>>>>>>>>>> * >>>>>>>>>>>>>> * >>>>>>>>>>>>>> *export >>>>>>>>>>>>>> PATH=$PATH:/home/sharief/Desktop/SDK/android-sdk-linux_x86-1.5_r3/tools/emulator >>>>>>>>>>>>>> * >>>>>>>>>>>>>> >>>>>>>>>>>>>> but still i am getting the following error >>>>>>>>>>>>>> >>>>>>>>>>>>>> *bash: ./emulaltor: No such file or directory* >>>>>>>>>>>>>> >>>>>>>>>>>>>> >>>>>>>>>>>>>> >>>>>>>>>>>>>> On Mon, Oct 19, 2009 at 1:44 PM, Chaiyasit T < >>>>>>>>>>>>>> [email protected]> wrote: >>>>>>>>>>>>>> >>>>>>>>>>>>>>> Sorry >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> I typed emulator wrong. let's type this: >>>>>>>>>>>>>>> *./emulator -avd sharief* >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> Note: Let's be sure you already change directory to this >>>>>>>>>>>>>>> emulator command like ../tools/... >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> Regards + Thanks >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> On Mon, Oct 19, 2009 at 3:10 PM, Niamathullah sharief < >>>>>>>>>>>>>>> [email protected]> wrote: >>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> if i type that command i am getting the following error >>>>>>>>>>>>>>>> message.. >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> * >>>>>>>>>>>>>>>> shar...@sharief-desktop:~/Desktop/SDK/android-sdk-linux_x86-1.5_r3$<shar...@sharief-desktop:%7E/Desktop/SDK/android-sdk-linux_x86-1.5_r3$>./emulaltor >>>>>>>>>>>>>>>> -avd sharief >>>>>>>>>>>>>>>> bash: ./emulaltor: No such file or directory >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> shar...@sharief-desktop:~/Desktop/SDK/android-sdk-linux_x86-1.5_r3$<shar...@sharief-desktop:%7E/Desktop/SDK/android-sdk-linux_x86-1.5_r3$> >>>>>>>>>>>>>>>> * >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> what to do? >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> On Mon, Oct 19, 2009 at 1:31 PM, Chaiyasit T < >>>>>>>>>>>>>>>> [email protected]> wrote: >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> On unix context, you must type all commands by starting >>>>>>>>>>>>>>>>> with ./ >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> Ex: ./emulaltor -avd sharief >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> www.codemoibiles.com >>>>>>>>>>>>>>>>> Regards + Thanks >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> On Mon, Oct 19, 2009 at 2:47 PM, Niamathullah sharief < >>>>>>>>>>>>>>>>> [email protected]> wrote: >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>> I think i set the path correctly..now i am getting another >>>>>>>>>>>>>>>>>> error >>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>> shar...@sharief-desktop:/bin$ locate emulator -avd >>>>>>>>>>>>>>>>>> sharief >>>>>>>>>>>>>>>>>> locate: invalid option -- 'a' >>>>>>>>>>>>>>>>>> shar...@sharief-desktop:/bin$ >>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>> what to do?help me please >>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>> On Mon, Oct 19, 2009 at 12:46 PM, Niamathullah sharief < >>>>>>>>>>>>>>>>>> [email protected]> wrote: >>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>> i tried to set the path. But it seems wrong >>>>>>>>>>>>>>>>>>> shar...@sharief-desktop:~$ export >>>>>>>>>>>>>>>>>>> PATH-$PATH:/home/sharief/Desktop/SDK/android-sdk-linux_x86-1.5_r3/tools/emulator >>>>>>>>>>>>>>>>>>> bash: export: >>>>>>>>>>>>>>>>>>> `PATH-/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/home/sharief/Desktop/SDK/android-sdk-linux_x86-1.5_r3/tools/emulator': >>>>>>>>>>>>>>>>>>> not a valid identifier >>>>>>>>>>>>>>>>>>> shar...@sharief-desktop:~$ >>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>> can anyone help me to set the exact path.. >>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>> On Mon, Oct 19, 2009 at 9:20 AM, Niamathullah sharief < >>>>>>>>>>>>>>>>>>> [email protected]> wrote: >>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>> No jeffrey. There is no "android app" in "Run as".. >>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>> On Mon, Oct 19, 2009 at 9:07 AM, Jeffrey Blattman < >>>>>>>>>>>>>>>>>>>> [email protected]> wrote: >>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>>> if you "run as>android app" in eclipse, it will start >>>>>>>>>>>>>>>>>>>>> the emulator, deploy your app, and run it. >>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>>> On 10/18/09 8:34 PM, Niamathullah sharief wrote: >>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>>> OK. and another one is, i have installed eclipse on my >>>>>>>>>>>>>>>>>>>>> system. is this another way to start an android?if yes i >>>>>>>>>>>>>>>>>>>>> have created ADT >>>>>>>>>>>>>>>>>>>>> plugin in eclipse. now how to start an emulator in >>>>>>>>>>>>>>>>>>>>> eclipse? >>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>>> On Mon, Oct 19, 2009 at 8:58 AM, Jeffrey Blattman < >>>>>>>>>>>>>>>>>>>>> [email protected]> wrote: >>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>>>> http://www.linuxheadquarters.com/howto/basic/path.shtml >>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>>>> On 10/18/09 8:26 PM, Niamathullah sharief wrote: >>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>>>> sorry jeffey. I am novice. Could you please tell me >>>>>>>>>>>>>>>>>>>>>> how to set the path? Could you please explain me in >>>>>>>>>>>>>>>>>>>>>> detail? >>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>>>> On Mon, Oct 19, 2009 at 8:54 AM, Jeffrey Blattman < >>>>>>>>>>>>>>>>>>>>>> [email protected]> wrote: >>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>>>>> that means the emulator isn't in your path. add >>>>>>>>>>>>>>>>>>>>>>> $ANDROID_HOME/tools to your path. >>>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>>>>> On 10/18/09 8:22 PM, Niamathullah sharief wrote: >>>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>>>>> Ok...I am using UBUNTU distribution. In that when i >>>>>>>>>>>>>>>>>>>>>>> try to start an emulator i am getting the following >>>>>>>>>>>>>>>>>>>>>>> error.. >>>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>>>>> shar...@sharief-desktop:~/Desktop/SDK/android-sdk-linux_x86-1.5_r3/tools$<shar...@sharief-desktop:%7E/Desktop/SDK/android-sdk-linux_x86-1.5_r3/tools$>emulator >>>>>>>>>>>>>>>>>>>>>>> -avd sharief >>>>>>>>>>>>>>>>>>>>>>> bash: emulator: command not found >>>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>>>>> can anyone tell me why it happens? >>>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>>>>> On Sun, Oct 18, 2009 at 6:11 PM, Mark Murphy < >>>>>>>>>>>>>>>>>>>>>>> [email protected]> wrote: >>>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>>>>>> Niamathullah sharief wrote: >>>>>>>>>>>>>>>>>>>>>>>> > Hi i am new to android. I am having some doubt >>>>>>>>>>>>>>>>>>>>>>>> when i tried to do my >>>>>>>>>>>>>>>>>>>>>>>> > first project in android. When i select new new >>>>>>>>>>>>>>>>>>>>>>>> project in eclipse. Is >>>>>>>>>>>>>>>>>>>>>>>> > ask some details. In that i saw one option called >>>>>>>>>>>>>>>>>>>>>>>> "package name"..I >>>>>>>>>>>>>>>>>>>>>>>> > don't know what to give in that field. Can anyone >>>>>>>>>>>>>>>>>>>>>>>> help me. I am not much >>>>>>>>>>>>>>>>>>>>>>>> > expert in Java. Thank you >>>>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>>>>>> I recommend spending a bit of time to get familiar >>>>>>>>>>>>>>>>>>>>>>>> with Java *outside* >>>>>>>>>>>>>>>>>>>>>>>> of Android. Android is just unusual enough that >>>>>>>>>>>>>>>>>>>>>>>> learning Java and >>>>>>>>>>>>>>>>>>>>>>>> Android at the same time may prove frustrating. >>>>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>>>>>> The package that Eclipse is asking for is the main >>>>>>>>>>>>>>>>>>>>>>>> Java package for your >>>>>>>>>>>>>>>>>>>>>>>> application: >>>>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>>>>>> http://en.wikipedia.org/wiki/Java_package >>>>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>>>>>> For example, I might use a package of: >>>>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>>>>>> com.commonsware.android.sample >>>>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>>>>>> or >>>>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>>>>>> com.commonsware.android.yes.he.really.posts.a.lot >>>>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>>>>>> or even >>>>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>>>>>> com.commonsware.android.and.he.sometimes.gets.a.wee.bit.goofy >>>>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>>>>>> -- >>>>>>>>>>>>>>>>>>>>>>>> Mark Murphy (a Commons Guy) >>>>>>>>>>>>>>>>>>>>>>>> http://commonsware.com | >>>>>>>>>>>>>>>>>>>>>>>> http://twitter.com/commonsguy >>>>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>>>>>> Android App Developer Training: >>>>>>>>>>>>>>>>>>>>>>>> http://commonsware.com/training.html >>>>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>>>>> -- >>>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>>>> -- >>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>>> -- >>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> >>>>>>>>>>>>>> >>>>>>>>>>>>>> >>>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>> >>>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> -- >>>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>> >>>>>> >>>>>> >>>>> >>>>> >>>>> >>>> >>>> >>>> >>> >>> >>> >> >> >> > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Beginners" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~----------~----~----~----~------~----~------~--~---
<<image/png>>
<<inline: qr-gmail.png>>
<<image/png>>
<<image/png>>

