Do you have three folders for r-*dpi (or *dpi-r, can't remember), * being l, m and h? I had this problem and it's because the lower versions of android don't support the *dpi classes. Copying and renaming to just 'r' worked.
On Jul 1, 10:41 am, lucas verdonk <lverd...@gmail.com> wrote: > I had the same problem recently. > First as justin told you, make sure that you are not importing android.R > class instead of your R class in your program. > Then check if your res directory works fine, any problem in this directory > will cause build to fail and R wont be re-built. > > for instance my problem was that downgrading from 1.6 to 1.5 made the > resolution screen support folder (drawable-ldpi etc...) unvalid so R wasn't > generated. > > Hope this help > > Lucas -- You received this message because you are subscribed to the Google Groups "Android Beginners" group. NEW! Try asking and tagging your question on Stack Overflow at http://stackoverflow.com/questions/tagged/android To unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en