Thank you very much for your response.
I will try your suggestions. Making sure I have an up-to-date version of adb and all of the other tools is a good idea. Can you please tell me how to go about doing that? -Chris ----- Original Message ----- From: "Indicator Veritatis" <mej1...@yahoo.com> To: "Android Beginners" <android-beginners@googlegroups.com> Sent: Thursday, July 8, 2010 5:48:42 PM Subject: [android-beginners] Re: "adb shell" command gives very inconsistent results This sounds somewhat different from the problems I have seen with adb. So I am not sure how helpful my advice will be, but what I would do is: before ever even entering the shell of adb, make sure that adb can see the emulator with "adb devices". Yes, unlike the distinction between emulator and device for the -e and -d options, "adb devices" will list both real hardware devices (of which you have none) and emulator instances (all of them). If you don't see the emulator instance even after launching the emulator and seeing the home screen, then try "adb kill-server" followed by "adb restart". If that gets adb to see the emulator instance, then go on to "adb shell". The one other suggestion I have is to make sure that you are using an uptodate version of adb -- and for that matter, of all the tools. On Jul 8, 5:55 am, Chris <c...@comcast.net> wrote: > I do not own an Android phone and am working exclusively in the > Eclipse/emulator environment on my laptop. > > When I type in the "adb shell" cmd from the tools directory I get very > inconsistent results. > Sometimes it says "error: device not found". > Sometimes it says "error: device offline". > If I start a small application and continue to type in the "adb shell" > command until the emulator starts I get the 2 errors I just mentioned > in that order and then the "adb shell" command actually works and I > can see the "#" prompt, and type in commands such as "ls -l" and see > the results. > Then as I'm working in the shell it suddenly ends and I'm back at the > Windows prompt. > I am running on Windows XP Pro Version 2002 Service Pack 3. > > Thank You in advance to anyone who would like to offer some help with > this situation. > > -Chris -- You received this message because you are subscribed to the Google Groups "Android Beginners" group. NEW! Try asking and tagging your question on Stack Overflow at http://stackoverflow.com/questions/tagged/android To unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -- You received this message because you are subscribed to the Google Groups "Android Beginners" group. NEW! Try asking and tagging your question on Stack Overflow at http://stackoverflow.com/questions/tagged/android To unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en