title: Id cannot be resolved or is not a field
body: <p>i write the simple android code for one activity and provided its view by xml file named as second.xml in layout folder.I have mentioned this activity also in mainfiest file.But i am facing the error of that "second cannot be resolved or it is not a field" at setContentView method.
  Please give the solution</p>
  
  <pre><code>import android.R;
  import android.app.Activity;
  import android.os.Bundle;
  import android.widget.ImageView;
  
  public class Second extends Activity
  {
      ImageView imageView;
      @Override
      protected void onCreate(Bundle savedInstanceState) {
          // TODO Auto-generated method stub
          super.onCreate(savedInstanceState);
          setContentView(R.layout.second);
  
          // Intent i=getIntent();
      }
  }
  </code></pre>