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

Reply via email to