"ERROR: thread attach failed"是什么错误?

If you're starting your app from the command line, with the "am" 
command, then you're seeing a race condition in "am".  In short, one 
part of the command is trying to create a bunch of threads while the 
main part is shutting down, so the VM rejects the attempt to attach a 
new thread.  (The message comes from javaAttachThread() in frameworks/ 
base/core/jni/AndroidRuntime.cpp.)

The message has been toned down a bit for a future release.

So you can ignore it!


转载自:http://groups.google.com/group/android-developers/browse_thread/thread/addd2a507ea8b166

你可能感兴趣的:(thread,command)