ERROR: thread attach failed
I am getting this following error during run time.
ERROR: thread attach failed
My pro开发者_如何学编程ject contains two classes in src as fallowing:
- Activity class
- video_thread class
I've created an object for this video_thread class in Activity class, made it Daemon and started it like this:
video_thread v=new video_thread();
video_thraed.setDaemon(true);
video_thread.start();
During execution i am finding this error in the logcat.
I believe this is cause because you application is shutting down whilst the thread is trying to be created. See http://groups.google.com/group/android-developers/browse_thread/thread/addd2a507ea8b166
You should try figure out why your application is exiting whilst the thread is being created.
精彩评论