OK, I moved the code that builds the ArrayAdapter from the AsyncTask into the main thread and it works. So it's definitely related to not being able to find the resource when the adapter is built in an AsyncTask. Strangely, the error doesn't happen during the execution of the async task. It complete successfully. The error is actually happening in the main thread. It looks as if resource IDs are not the same in the two threads. Is this true?
-- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

