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.
I would very much appreciate some help with this situation.
Chris Trout wrote:I'm also wondering if I have the most current versions of "adb" and the other tools.
Do you know how I can ensure that I do?
You should periodically run the "android" executable in the tools folder of the SDK. Click on "Available Packages" and then select the Google server - that will start a search for updates. There was an update of the Android 2.2 API just this week, but the last Tools update was a couple of months ago, along with the original Android 2.2 release.
XML verification failed for http://dl-ssl.google.com/android/repository/repository.xml.
Error: cvc-elt.1: Cannot find the declaration of element 'sdk:sdk-repository'.
Failed to fetch URL http://dl-ssl.google.com/android/repository/repository.xml, reason: Unknown
Is that likely to be a problem on Google's end or am I not holding my mouth right?