I have the same issue in a brand new install with SDK 3.1 There is no android.content.XmlDocumentProvider. How can this get corrected?
Chris On Mar 16, 6:13 am, "j.s. mammen" <[email protected]> wrote: > Hi all, I am trying to compile and run the XmlAdapter sample from the > sdk, also referenced in the below > URLhttp://developer.android.com/resources/samples/XmlAdapters/index.html > > I am unable to compile and run due to following errors listed below, > any help is greatly appreciated. > I am using API level 8, also tried with 10, no change in errors. > > ------ errors begin ------ > > mContext cannot be resolved Adapters.java /Feedsample/src/com/example/ > android/xmladapters line 914 Java Problem > mContext cannot be resolved Adapters.java /Feedsample/src/com/ > example/ > android/xmladapters line 972 Java Problem > mContext cannot be resolved Adapters.java /Feedsample/src/com/ > example/ > android/xmladapters line 973 Java Problem > mContext cannot be resolved Adapters.java /Feedsample/src/com/ > example/ > android/xmladapters line 976 Java Problem > mFrom cannot be resolved Adapters.java /Feedsample/src/com/ > example/ > android/xmladapters line 938 Java Problem > mTo cannot be resolved Adapters.java /Feedsample/src/com/example/ > android/xmladapters line 937 Java Problem > mTo cannot be resolved Adapters.java /Feedsample/src/com/example/ > android/xmladapters line 939 Java Problem > The importandroid.content.XmlDocumentProvidercannot be resolved > RssReaderActivity.java /Feedsample/src/com/example/android/ > xmladapters > line 20 Java Problem > > ---------- errors end ----- -- 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

