• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Apps XML Problems

Hi I have created a new project using a tutorial. I have followed everything but for some reason, the XML files in layout aren't being properly referenced in the r.java file. I have double checked everything and it seems that it happens every time I create a project, this usually happens.

There should be 3 xml references in the r.java file but two are missing! As a consequence I keep getting an "....cannot be resolved or cannot be resolved to a type or no resource matches the given name" even though I already have them on the layouts file. Why is this happening? Why does it choose to ignore the rest?

I have followed the tutorial and I have 3 java files, and 3 xml files.

I have also tried deleting the .xml files and redoing the xml files but the r.java still refuses to acknowledge that it's there.
 
Back
Top Bottom