What does "ERROR: thread attach failed" mean?
http://groups.google.com/group/android-developers/browse_thread/thread/addd2a507ea8b166
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
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!
当从命令行启动应用时遇到ERROR:threadattachfailed错误,这通常是由am命令中的竞态条件导致。此错误是因为命令的一部分尝试创建多个线程,而主线程正在关闭,因此虚拟机拒绝了新线程的附加请求。该警告信息在未来版本中会被调整,目前可以忽略。
4759

被折叠的 条评论
为什么被折叠?



