android - "id cannot be resolved or is not a field" error? -


I keep getting this error. Should I just create a id field?

My code is:

  Crate on public void (bundle extractor) {super. Concetto (hymnologist); SetContentView (R.layout.main); ImageView Main Value = (ImageView) findViewById (RIDMannim); Mainimage.setBackgroundResource (R.anim.mainanim); Main animation = (animation dragable) menu image. Gatebackground (); }  

How do you fix it? Do not modify the R square error means that the syntax with your XML layouts is incorrect and R can not be auto-generated.

Edit: Also: Remove "Import Android .r" from import at the top of the file (if there is one)


Comments