Saturday, August 20, 2011

[android-developers] java.lang.NoClassDefFoundError: android.os.AsyncTask

I have an app on the Market that works well for most users but for a
few of them and very rarely, I get crash reports with exception:

java.lang.NoClassDefFoundError: android.os.AsyncTask


It happens very early in app init when the first AsyncTask is created
on different versions of Android.
These crash reports are totally weird, as if the dalvik classloader
was broken or going berserk.

Does anyone have seen such crash reports in its own apps ?

At this point, I tend to ignore them as there is nothing I can do, but
I'd still like to have an explanation for this mystery.

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

No comments:

Post a Comment