"adb shell" command gives very inconsistent results

by Justin Anderson » Fri, 09 Jul 2010 22:52:40 GMT


Sponsored Links
 Get the latest SDK:  http://developer.android.com/sdk/index.html 
Get the latest tools:  http://developer.android.com/sdk/tools-notes.html 

----------------------------------------------------------------------
There are only 10 types of people in the world...
Those who know binary and those who don't.
----------------------------------------------------------------------






>



"adb shell" command gives very inconsistent results

by ca44 » Sun, 11 Jul 2010 00:41:51 GMT


 Thanks Justin. 

Once I get them is there anything additional I need to do to install and make 
them current? 



-Chris 


----- Original Message ----- 
From: "Justin Anderson" <janderson....@gmail.com> 
To: android-beginners@googlegroups.com 
Sent: Friday, July 9, 2010 7:52:11 AM 
Subject: Re: [android-beginners] Re: "adb shell" command gives very 
inconsistent results 

Get the latest SDK:  http://developer.android.com/sdk/index.html  
Get the latest tools:  http://developer.android.com/sdk/tools-notes.html  
 
---------------------------------------------------------------------- 
There are only 10 types of people in the world... 
Those who know binary and those who don't. 
---------------------------------------------------------------------- 











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. 




--


Sponsored Links


Other Threads

1. UnknownHostException on 1.5 emulator

If I leave the 1.5 emulator running for a while (overnight, maybe
less) it starts getting unknown host errors like this:

05-21 18:03:23.618  2663  2683 I InetAddress: Unknown host www.google.com,
throwing UnknownHostException

It doesn't matter what app is trying to access the net, it always gets
an unknown host.  The network is working, since it works if I use an
IP address.  So it's as if the DNS client is getting stuck and just
stops resolving.  It takes a while to get the error too, like it's
timing out on its queries, not like an immediate logic problem.  I
haven't bothered to do a network trace to see what it's doing.  I also
haven't tried to see if this is also a problem with the 1.1 emulator
in the 1.5 SDK, but it was certainly never a problem with the 1.0 SDK.

Anyone else seeing this, and more importantly, anyone seeing it on 1.5
on a device?

-- Peter

--~--~---------~--~----~------------~-------~--~----~

2. Broadcast on SIM state change

Hi,

Am I right if I say that, there is no broadcast action currently for
the SIM card state changes ?

Thanks,
    Zod.
--~--~---------~--~----~------------~-------~--~----~

3. MediaScannerConnection

4. VerifyError with Maps Add-ons

5. canvas and android.graphics.camera 3d rotation issue

6. Settings.Secure.getInt got wrong value in AdbSettingsObserver

7. How to prevent Failed Binder Transaction