title: getMenuInflater().inflate(R.menu.main, menu);main cannot be resolved or is not a field,
body: <p>i want to make maps. when i will try for first i have problem. this is my problem.</p>
  
  <p>this my code</p>
  
  <pre><code>@Override
  public boolean onCreateOptionsMenu(Menu menu) {
  
      // Inflate the menu; this adds items to the action bar if it is present.
      getMenuInflater().inflate(R.menu.main, menu);
      return true;
  }    
  </code></pre>
  
  <p>in this code, i have problem</p>
  
  <pre><code>getMenuInflater().inflate(R.menu.main, menu);
  </code></pre>
  
  <p>the comment is main cannot be resolved or is not a field</p>